Voltage Property


The voltage value of the electrical analytical transfer switch.

Namespace: Autodesk.Revit.DB.Electrical
Assembly: RevitAPI (in RevitAPI.dll) Version: 24.0.0.0 (24.0.0.0)
Since:  2023

Syntax

C#
public double Voltage { get; set; }
Visual Basic
Public Property Voltage As Double
	Get
	Set
Visual C++
public:
property double Voltage {
	double get ();
	void set (double value);
}

Exceptions

ExceptionCondition
Autodesk.Revit.ExceptionsArgumentException When setting this property: The given value for voltage is not a number -or- When setting this property: The given value for voltage is not finite
Autodesk.Revit.ExceptionsArgumentOutOfRangeException When setting this property: The given value for voltage must be positive.

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 →