SetVoltageValue Method


Voltage Type Set Voltage Value Method

Assign new values to modify voltage type, all of the unit are volt.

Namespace: Autodesk.Revit.DB.Electrical
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public void SetVoltageValue(
	double actualValue,
	double minValue,
	double maxValue
)

Parameters

actualValue Double
minValue Double
maxValue Double
Exceptions
Exception Condition
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.
See Also
ArchiLabs Desktop

Put AI to work inside Revit.

Give Desktop your instructions and project files to build Revit families, update model elements, and create views and schedules. Works directly in Revit and AutoCAD.

Explore Desktop →