MakeCurveNonPeriodic

Makes a periodic curve non-periodic.  Non-periodic curves can develop kinks when deformed.

Syntax

Rhino.MakeCurveNonPeriodic (strObject [, blnDelete])

Parameters

strObject

Required.  String.  The object's identifier.

blnDelete

Optional.  Boolean.  Delete input curve.  If omitted, the input curve will not be deleted (False).

Returns

String

If blnDelete is False, the identifier of the new object if successful.

String

If blnDelete is True, the identifier of the modified object if successful.

Null

If not successful, or on error.

Example

Const rhObjectCurve = 4

Dim strObject

strObject = Rhino.GetObject("Select a curve", rhObjectCurve)

If Rhino.IsCurvePeriodic(strObject) Then

Rhino.MakeCurveNonPeriodic strObject

End If

Also See

IsCurvePeriodic

MakeCurvePeriodic