<controlpoint>.setPosition

Set the translation value of the control point

 

<controlpoint>.setPosition(
    [x,y,z]    

)

 

[x,y,z]

The translation value


Remarks

Set the translation value of this control point. If you don't specify a translation value then this control point will not affect the translation of the path.

Return Value

None

Example

cp = viz.addControlPoint()
#The translation at this control point will be (0,1,0)
cp.setPosition([0,1,0])

See also

<controlpoint>.setTranslateMode
<controlpoint>.setPositionIn
<controlpoint>.setPositionOut