RVTDocs.com
Namespace: Autodesk.Revit.Creation Class: Document

Document.NewOpening(Element, CurveArray, eRefFace)

Method
Description:
Creates a new opening in a beam, brace and column.
Remarks:
This method forms opening on a beam, brace and column.
Syntax
public Opening NewOpening(
	Element famInstElement,
	CurveArray profile,
	eRefFace iFace
)
Parameters
Parameter Type Description
famInstElement Element host element of the opening, can be a beam, brace and column.
profile CurveArray profile of the opening.
iFace eRefFace face on which opening is based on.
Return Value
Type Description
Opening If successful, an Opening object is returned.
Exceptions
Exception Condition
ArgumentException Thrown if the family instance element does not exist in the given document.