CreateCurve Method


Overload List

  NameDescription
Public methodStatic memberCreateCurve(HermiteSpline)
Creates a new geometric Curve object by converting the given HermiteSpline. The created curve may be a NURBSpline or a simpler curve such as line or arc.
Public methodStatic memberCreateCurve(IListXYZ, IListDouble)
Creates a new geometric Curve object from NURBS curve data containing just control points and weights. The created curve may be a NURBSpline or a simpler curve such as line or arc.
Public methodStatic memberCreateCurve(Int32, IListDouble, IListXYZ)
Creates a new geometric Curve object from NURBS curve data, which does not include weights. The created curve may be a NURBSpline or a simpler curve such as line or arc.
Public methodStatic memberCreateCurve(Int32, IListDouble, IListXYZ, IListDouble)
Creates a new geometric Curve object from NURBS curve data, which includes weights. The created curve may be a NURBSpline or a simpler curve such as line or arc.

See Also

ArchiLabs

Stop fighting Revit automation.

Build repeatable BIM design and documentation workflows with scripts, data, and AI in one place, without wrestling brittle one-off automations.

Try ArchiLabs →