Revit 2026 API
Curve |
Create a CurveUV from a bounded 3D Curve lying in the XY plane.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.0.4.0 (26.0.4.0)
Syntax
public static CurveUV Create( Curve curve3D )
Public Shared Function Create ( curve3D As Curve ) As CurveUV
public: static CurveUV^ Create( Curve^ curve3D )
static member Create : curve3D : Curve -> CurveUV
Parameters
- curve3D Curve
- The input bounded 3D Curve lying in the XY plane (i.e., z = 0 everywhere along the curve).
Return Value
CurveUVThe newly created CurveUV.
| 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 |
The XY plane is identified with the uv parameter space of the surface to which this SurfParamSpaceCurve refers.
See Also