GetRectangularHeight Method


Curve Loop Get Rectangular Height Method

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: 25.0.0.0 (25.0.0.0)
Syntax
public double GetRectangularHeight(
	Plane plane
)

Parameters

plane Plane
The plane to which the curves will be projected.

Return Value

Double
The height.
Exceptions
Exception Condition
ArgumentNullException A non-optional argument was null
InvalidOperationException The curve loop is not rectangular when projected to the input plane.
Remarks
The height is determined by the V extents of the UV curve created by from the curve loop plane.
See Also
ArchiLabs Desktop

Put AI to work inside Revit.

Give Desktop your instructions and project files to build Revit families, update model elements, and create views and schedules. Works directly in Revit and AutoCAD.

Explore Desktop →