InstanceVoidCutUtils.GetCuttingVoidInstances Method

InstanceVoidCutUtilsGetCuttingVoidInstances Method

Return ids of the instances with unattached voids cutting the element.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.3.0.0 (25.3.0.0)
Syntax
public static ICollection<ElementId> GetCuttingVoidInstances(
	Element element
)
Public Shared Function GetCuttingVoidInstances ( 
	element As Element
) As ICollection(Of ElementId)
public:
static ICollection<ElementId^>^ GetCuttingVoidInstances(
	Element^ element
)
static member GetCuttingVoidInstances : 
        element : Element -> ICollection<ElementId> 

Parameters

element  Element
The element being cut

Return Value

ICollectionElementId
Ids of instances with unattached voids that cut this element
Exceptions
ExceptionCondition
ArgumentNullException A non-optional argument was null
See Also