Share

Curve.ApproximateLength Property

The approximate length of the curve.


Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.1.0.0 (26.1.0.34)

Syntax

C#

public double ApproximateLength { get; }

Property Value

Double

Exceptions

ExceptionCondition
InvalidOperationException Thrown when the curve is unbound and not periodic.

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.

See Also

Reference

Was this information helpful?