RVTDocs.com

ElectricalSystem.RemoveFromCircuit

Method
Description:
remove a set of exist components from the Electrical System.
Remarks:
If successful, all the components will remove from the system. Otherwise null is removed. This method will only function with the Autodesk Revit MEP application.
Syntax
public void RemoveFromCircuit(
	ElementSet components
)
Parameters
Parameter Type Description
components ElementSet The components removed from the electrical system.
Return Value
Exceptions
Exception Condition
ArgumentNullException Thrown when the components parameter Value is.
InvalidOperationException Thrown when the components cannot be removed from the system.