RhinoCommon API
CustomCurveObjectSetCurve Method |
Only for developers who are defining custom subclasses of CurveObject.
Directly sets the internal curve geometry for this object. Note that
this function does not work with Rhino's "undo".
Namespace: Rhino.DocObjects.Custom
Assembly: RhinoCommon (in RhinoCommon.dll)

Parameters
- curve
- Type: Rhino.GeometryCurve
[Missing <param name="curve"/> documentation for "M:Rhino.DocObjects.Custom.CustomCurveObject.SetCurve(Rhino.Geometry.Curve)"]
Return Value
Type: CurveThe old curve geometry that was set for this object

Note that this function does not work with Rhino's "undo". The typical
approach for adjusting the curve geometry is to modify the object that you
get when you call the CurveGeometry property and then call CommitChanges.

Rhino for Mac
Supported in: 5.4Rhino for Windows
Supported in: 6.14