| Revit 2020 API |
| ElectricalSystem..::..CircuitPathMode Property |
| ElectricalSystem Class See Also |
The circuit path mode of the electrical system.
Namespace: Autodesk.Revit.DB.Electrical
Assembly: RevitAPI (in RevitAPI.dll) Version: 20.0.0.0 (20.0.0.377)
Since:
2018
Syntax
| C# |
|---|
public ElectricalCircuitPathMode CircuitPathMode { get; set; } |
| Visual Basic |
|---|
Public Property CircuitPathMode As ElectricalCircuitPathMode Get Set |
| Visual C++ |
|---|
public: property ElectricalCircuitPathMode CircuitPathMode { ElectricalCircuitPathMode get (); void set (ElectricalCircuitPathMode value); } |
Exceptions
| Exception | Condition |
|---|---|
| Autodesk.Revit.Exceptions..::..ArgumentOutOfRangeException | When setting this property: A value passed for an enumeration argument is not a member of that enumeration |
| Autodesk.Revit.Exceptions..::..DisabledDisciplineException | When setting this property: None of the following disciplines is enabled: Mechanical Electrical Piping. |
| Autodesk.Revit.Exceptions..::..InvalidOperationException | When setting this property: The electrical system circuit path does not have customized path, so the CircuitPathMode cannot be set as Custom. |