InstanceVoidCutUtils.GetElementsBeingCut Method

InstanceVoidCutUtilsGetElementsBeingCut Method

Return ids of the elements being cut by the instance

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.0.4.0 (26.0.4.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

ICollectionElementId
Ids of elements being cut by cuttingInstance
Exceptions
ExceptionCondition
ArgumentNullException A non-optional argument was null
See Also