| Revit 2019.2 API |
| InstanceVoidCutUtils..::..GetCuttingVoidInstances Method |
| InstanceVoidCutUtils Class See Also |
Return ids of the instances with unattached voids cutting the element.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 19.0.0.0 (19.2.0.66)
Since:
2011
Syntax
| C# |
|---|
public static ICollection<ElementId> GetCuttingVoidInstances( Element element ) |
| Visual Basic |
|---|
Public Shared Function GetCuttingVoidInstances ( _ element As Element _ ) As ICollection(Of ElementId) |
| Visual C++ |
|---|
public: static ICollection<ElementId^>^ GetCuttingVoidInstances( Element^ element ) |
Parameters
- element
- Type: Autodesk.Revit.DB..::..Element
The element being cut
Return Value
Ids of instances with unattached voids that cut this element
Exceptions
| Exception | Condition |
|---|---|
| Autodesk.Revit.Exceptions..::..ArgumentNullException | A non-optional argument was NULL |