Revit 2025.3 API
Electrical |
The Length value of the Electrical System.
Namespace: Autodesk.Revit.DB.Electrical
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.3.0.0 (25.3.0.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