Vizard 8 » Command Index » Vizard objects » animationpath » <animationpath>.removeControlPoint
8.0

<animationpath>.removeControlPoint

Remove a control point from the animation path

<animationpath>.removeControlPoint(  
index  
remove = True  
)  
index
0-based index of the control point. Negative index can also be used to reference from end of list.
remove = True
If True, permanently remove the control point object

Remarks

This command will remove the specified control point index from the animation path. If the remove parameter is True, then the control point object will also be permanently removed.

Return Value

None

Example

# Create animation path
path = viz.addAnimationPath()
path.addControlPoint(pos=(0,0,5))
.
.
.

# Remove first control point
path.removeControlPoint(0)

See also

<animationpath>.addControlPoint
<animationpath>.clearControlPoints