Revit 2025.3 API
Instance |
Return ids of the elements being cut by the instance
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.3.0.0 (25.3.0.0)
Syntax
public static ICollection<ElementId> GetElementsBeingCut( Element cuttingInstance )
Public Shared Function GetElementsBeingCut ( cuttingInstance As Element ) As ICollection(Of ElementId)
public: static ICollection<ElementId^>^ GetElementsBeingCut( Element^ cuttingInstance )
static member GetElementsBeingCut : cuttingInstance : Element -> ICollection<ElementId>
Parameters
- cuttingInstance Element
- The cutting family instance
Return Value
ICollectionElementIdIds of elements being cut by cuttingInstance
| Exception | Condition |
|---|---|
| ArgumentNullException | A non-optional argument was null |
See Also