Revit 2025 API
Instance |
Check whether the instance is cutting the element
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public static bool InstanceVoidCutExists( Element element, Element cuttingInstance )
Public Shared Function InstanceVoidCutExists ( element As Element, cuttingInstance As Element ) As Boolean
public: static bool InstanceVoidCutExists( Element^ element, Element^ cuttingInstance )
static member InstanceVoidCutExists : element : Element * cuttingInstance : Element -> bool
Parameters
Return Value
BooleanReturns true if the instance is cutting the element.

Exception | Condition |
---|---|
ArgumentNullException | A non-optional argument was null |
See Also