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".
RhinoCommon (in RhinoCommon.dll)
protected Curve SetCurve(
Protected Function SetCurve (
curve As Curve
) As Curve
- Type: Rhino.GeometryCurve
[Missing <param name="curve"/> documentation for "M:Rhino.DocObjects.Custom.CustomCurveObject.SetCurve(Rhino.Geometry.Curve)"]
The 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 MacSupported in: 5.4
Rhino for WindowsSupported in: 6.8