Revit 2026 API
Instance |
Remove a cut applied to the element by a cutting instance with unattached voids.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.0.4.0 (26.0.4.0)
Syntax
public static void RemoveInstanceVoidCut( Document document, Element element, Element cuttingInstance )
Public Shared Sub RemoveInstanceVoidCut ( document As Document, element As Element, cuttingInstance As Element )
public: static void RemoveInstanceVoidCut( Document^ document, Element^ element, Element^ cuttingInstance )
static member RemoveInstanceVoidCut : document : Document * element : Element * cuttingInstance : Element -> unit
Parameters
| Exception | Condition |
|---|---|
| ArgumentException | No instance void cut exists between the two elements. |
| ArgumentNullException | A non-optional argument was null |
| InvalidOperationException | Failed to remove the instance cut from the element |
See Also