Share

Document.NewOpening(Element, CurveArray, eRefFace) Method

Creates a new opening in a beam, brace and column.


Namespace: Autodesk.Revit.Creation
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.3.0.0 (25.3.0.0)

Syntax

C#

public Opening NewOpening(
	Element famInstElement,
	CurveArray profile,
	eRefFace iFace
)

Parameters

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

Opening
If successful, an Opening object is returned.

Exceptions

ExceptionCondition
ArgumentExceptionThrown if the family instance element does not exist in the given document.

Remarks

This method forms opening on a beam, brace and column.

See Also

Reference

Was this information helpful?