Disconnect the panel for the Electrical System.
Namespace: Autodesk.Revit.DB.ElectricalAssembly: RevitAPI (in RevitAPI.dll) Version: 23.0.0.0 (23.1.0.0)
Since: 2011
Syntax
C# |
---|
public void DisconnectPanel() |
Visual Basic |
---|
Public Sub DisconnectPanel |
Visual C++ |
---|
public: void DisconnectPanel() |
Remarks
If successful, the system will disconnect this panel. Otherwise the exception will be thrown.
This method will only function with the Autodesk Revit MEP application.
Exceptions
Exception | Condition |
---|---|
Autodesk.Revit.Exceptions..::..DisabledDisciplineException | None of the following disciplines is enabled: Mechanical Electrical Piping. |
Autodesk.Revit.Exceptions..::..InvalidOperationException | Thrown when the panel cannot be disconnected for the electrical system. |