SISetCurvePoints
 
 
 

SISetCurvePoints

Description

Sets the points on a curve.

Scripting Syntax

SISetCurvePoints( InputObj, [Points], [Local] );

Parameters

Parameter Type Description
InputObj String Curve to set points on.
Points String Comma-separated list of points. For example, "(0,1,0),(0,2,0),(3,3,0)".
Local Boolean True if points are in local coordinates, False if they are in global coordinates.

Default Value: False

Examples

VBScript Example

'This example creates a curve by setting points on the curve...
newscene
'Create a cubic NURBS curve. Set the four CVs of the cubic curve
set l_pCurve = SICreateCurve ("MyCurve",3,0)
SISetCurvePoints l_pCurve, "(0,0,0),(2,1,2),(1,2,3),(3,4,5)", 0
SelectObj l_pCurve, , True
SetSelFilter "Point"

See Also

CreateCurve SICreateCurve SIAddPointOnCurve SIAddPointOnCurveAtStart SIAddPointOnCurveAtEnd GetCurveLength EvaluateCurveAt