AnalyticalPowerSourceData.Voltage
Property
Description:
The voltage value of the analytical power source.
The voltage value of the analytical power source.
Syntax
[ObsoleteAttribute("This property is deprecated in Revit 2025 and may be removed in a later version of Revit. The voltage is read only in Revit 2025 and assigned through the distribution system of the analytical power source, we suggest you use the 'AssignedVoltage' property instead.")]
public double Voltage { get; set; }
Exceptions
Exception | Condition |
---|---|
ArgumentException | 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 |
ArgumentOutOfRangeException | When setting this property: The given value for voltage must be positive. |
InvalidOperationException | When setting this property: The voltage on the analytical node is not editable. |