Returns the width of a curve loop if it is rectangular with respect to the projection plane.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.1.0.0 (26.1.0.34)
Syntax
C#
public double GetRectangularHeight( Plane plane )
Parameters
- plane Plane
- The plane to which the curves will be projected.
Return Value
DoubleThe height.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | A non-optional argument was null |
InvalidOperationException | The curve loop is not rectangular when projected to the input plane. |