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

Curve.ApproximateLength

Property
Description:
The approximate length of the curve.
Remarks:
Quickly estimates the length of the curve, may deviate by a factor of 2 in some cases. The computation is exact for lines and arcs.
Syntax
public double ApproximateLength { get; }
Exceptions
Exception Condition
InvalidOperationException Thrown when the curve is unbound and not periodic.