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

CurveLoop.GetRectangularWidth

Method
Description:
Returns the width of a curve loop if it is rectangular with respect to the projection plane.
Remarks:
The width is determined by the U extents of the UV curve created by from the curve loop plane.
Syntax
public double GetRectangularWidth(
	Plane plane
)
Parameters
Parameter Type Description
plane Plane The plane to which the curves will be projected.
Return Value
Type Description
Double The width.
Exceptions
Exception Condition
ArgumentNullException A non-optional argument was null
InvalidOperationException The curve loop is not rectangular when projected to the input plane.