Returns the width of a curve loop if it is rectangular with respect to the projection plane.
Namespace: Autodesk.Revit.DBAssembly: RevitAPI (in RevitAPI.dll) Version: 21.0.0.0 (21.1.1.109)
Since: 2012
Syntax
| C# |
|---|
public double GetRectangularHeight( Plane plane ) |
| Visual Basic |
|---|
Public Function GetRectangularHeight ( _ plane As Plane _ ) As Double |
| Visual C++ |
|---|
public: double GetRectangularHeight( Plane^ plane ) |
Parameters
- plane
- Type: Autodesk.Revit.DB..::..Plane
The plane to which the curves will be projected.
Return Value
The height.
Remarks
The height is determined by the V extents of the UV curve created by from the curve loop plane.
Exceptions
| Exception | Condition |
|---|---|
| Autodesk.Revit.Exceptions..::..ArgumentNullException | A non-optional argument was NULL |
| Autodesk.Revit.Exceptions..::..InvalidOperationException | The curve loop is not rectangular when projected to the input plane. |