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

Stop fighting Revit automation.

Build repeatable BIM design and documentation workflows with scripts, data, and AI in one place, without wrestling brittle one-off automations.

Try ArchiLabs →