Revit 2026 API
CurveLength Property |
The exact length of the curve.
Namespace: Autodesk.Revit.DB
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 curve is unbound and not periodic. |

Computes the length of the curve using analytical or numeric
integration. There is no performance hit for lines and arcs.
See Also