Return ids of the instances with unattached voids cutting the element.
Namespace: Autodesk.Revit.DBAssembly: RevitAPI (in RevitAPI.dll) Version: 20.0.0.0 (20.0.0.377)
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 |