remove a set of exist components from the Electrical System.
Namespace: Autodesk.Revit.DB.Electrical
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.4.0.0 (26.4.0.0)
Syntax
C#
public void RemoveFromCircuit( ElementSet components )
Parameters
- components ElementSet
- The components removed from the electrical system.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentNullException | Thrown when the components parameter Value is null. |
| InvalidOperationException | Thrown when the components cannot be removed from the system. |
