Add a new type definition of voltage into project.
Namespace: Autodesk.Revit.DB.Electrical
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.3.0.0 (25.3.0.0)
Syntax
C#
public VoltageType AddVoltageType( string name, double actualValue, double minValue, double maxValue )
Parameters
- name String
- Specify voltage type name
- actualValue Double
- Specify actual value of voltage type.
- minValue Double
- Specify acceptable minimum value of the voltage type.
- maxValue Double
- Specify acceptable maximum value of the voltage type.
Return Value
VoltageTypeNew added voltage type object.