Revit 2016 API |
InstanceVoidCutUtils..::..GetElementsBeingCut Method |
InstanceVoidCutUtils Class See Also |
Return ids of the elements being cut by the instance
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 16.0.0.0 (16.0.0.0)
Since:
2011
Syntax
C# |
---|
public static ICollection<ElementId> GetElementsBeingCut( Element cuttingInstance ) |
Visual Basic |
---|
Public Shared Function GetElementsBeingCut ( _ cuttingInstance As Element _ ) As ICollection(Of ElementId) |
Visual C++ |
---|
public: static ICollection<ElementId^>^ GetElementsBeingCut( Element^ cuttingInstance ) |
Parameters
- cuttingInstance
- Type: Autodesk.Revit.DB..::..Element
The cutting family instance
Return Value
Ids of elements being cut by cuttingInstance
Exceptions
Exception | Condition |
---|---|
Autodesk.Revit.Exceptions..::..ArgumentNullException | A non-optional argument was NULL |