RVTDocs.com
Namespace: Autodesk.Revit.DB Class: Curve

Curve.Length

Property
Description:
The exact length of the curve.
Remarks:
Computes the length of the curve using analytical or numeric integration. There is no performance hit for lines and arcs.
Syntax
public double Length { get; }
Exceptions
Exception Condition
InvalidOperationException Thrown when the curve is unbound and not periodic.