Revit 2026 API
Electrical |
The Length value of the Electrical System.
Namespace: Autodesk.Revit.DB.Electrical
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.0.4.0 (26.0.4.0)
Syntax
public double Length { get; }
Public ReadOnly Property Length As Double Get
public: property double Length { double get (); }
member Length : float with get
Property Value
Double
Exception | Condition |
---|---|
InvalidOperationException | Thrown when the length cannot be computed, because it is zero, or because the circuit is not connected to a panel. |

This property is used to retrieve the Length value of the Electrical System.
See Also