Revit 2017.1 API |
VoltageType..::..SetVoltageValue Method |
VoltageType Class See Also |
Assign new values to modify voltage type, all of the unit are volt.
Namespace: Autodesk.Revit.DB.Electrical
Assembly: RevitAPI (in RevitAPI.dll) Version: 17.0.0.0 (17.0.1090.0)
Syntax
C# |
---|
public void SetVoltageValue( double actualValue, double minValue, double maxValue ) |
Visual Basic |
---|
Public Sub SetVoltageValue ( _ actualValue As Double, _ minValue As Double, _ maxValue As Double _ ) |
Visual C++ |
---|
public: void SetVoltageValue( double actualValue, double minValue, double maxValue ) |
Parameters
- actualValue
- Type: System..::..Double
- minValue
- Type: System..::..Double
- maxValue
- Type: System..::..Double
Exceptions
Exception | Condition |
---|---|
Autodesk.Revit.Exceptions..::..ArgumentException | Actual value can't be more than minValue or less than maxValue, and all of them can't be negative, otherwise the exception will be thrown. |