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

CurveUV.Create

Method
Description:
Create a CurveUV from a bounded 3D Curve lying in the XY plane.
Remarks:
The XY plane is identified with the uv parameter space of the surface to which this SurfParamSpaceCurve refers.
Syntax
public static CurveUV Create(
	Curve curve3D
)
Parameters
Parameter Type Description
curve3D Curve The input bounded 3D Curve lying in the XY plane (i.e., z = 0 everywhere along the curve).
Return Value
Type Description
CurveUV The newly created CurveUV.
Exceptions
Exception Condition
ArgumentException The input Curve is not a bounded 3D Curve lying in the XY plane (i.e., z = 0 everywhere along the curve).
ArgumentNullException A non-optional argument was null