Length Property


The Length value of the Electrical System.

Namespace: Autodesk.Revit.DB.Electrical
Assembly: RevitAPI (in RevitAPI.dll) Version: 18.0.0.0 (18.0.0.420)
Since: 2011

Syntax

C#
public double Length { get; }
Visual Basic
Public ReadOnly Property Length As Double
	Get
Visual C++
public:
property double Length {
	double get ();
}

Remarks

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

Exceptions

Exception Condition
Autodesk.Revit.Exceptions InvalidOperationException Thrown when the length cannot be computed, because it is zero, or because the circuit is not connected to a panel.

See Also