| Revit 2022.1 API |
| ElectricalSystem..::..Voltage Property |
| ElectricalSystem Class See Also |
The Voltage value of the Electrical System.
Namespace: Autodesk.Revit.DB.Electrical
Assembly: RevitAPI (in RevitAPI.dll) Version: 22.0.0.0 (22.1.1.0)
Since:
2011
Syntax
| C# |
|---|
public double Voltage { get; } |
| Visual Basic |
|---|
Public ReadOnly Property Voltage As Double Get |
| Visual C++ |
|---|
public: property double Voltage { double get (); } |
Remarks
This property is used to retrieve the Voltage value of the Electrical System.
Exceptions
| Exception | Condition |
|---|---|
| Autodesk.Revit.Exceptions..::..InvalidOperationException | This property only available when System Type is Power! |