Length Property


Electrical System Length Property

The Length value of the Electrical System.

Namespace: Autodesk.Revit.DB.Electrical
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public double Length { get; }

Property Value

Double
Exceptions
Exception Condition
InvalidOperationException Thrown when the length cannot be computed, because it is zero, or because the circuit is not connected to a panel.
Remarks
This property is used to retrieve the Length value of the Electrical System.
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 →