Create Method


Create a CurveUV from a bounded 3D Curve lying in the XY plane.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 22.0.0.0 (22.1.0.0)
Since: 2021

Syntax

C#
public static CurveUV Create(
	Curve curve3D
)
Visual Basic
Public Shared Function Create ( _
	curve3D As Curve _
) As CurveUV
Visual C++
public:
static CurveUV^ Create(
	Curve^ curve3D
)

Parameters

curve3D
Type: Autodesk.Revit.DB Curve
The input bounded 3D Curve lying in the XY plane (i.e., z = 0 everywhere along the curve).

Return Value

The newly created CurveUV.

Remarks

The XY plane is identified with the uv parameter space of the surface to which this SurfParamSpaceCurve refers.

Exceptions

Exception Condition
Autodesk.Revit.Exceptions ArgumentException The input Curve is not a bounded 3D Curve lying in the XY plane (i.e., z = 0 everywhere along the curve).
Autodesk.Revit.Exceptions ArgumentNullException A non-optional argument was null

See Also