Vizard 7 » Command Index » Vizard objects » animationpath » <animationpath>.clearControlPoints
7.6

<animationpath>.clearControlPoints

Remove all control points from the animation path

<animationpath>.clearControlPoints(  
remove = True  
)  
remove = True
If True, permanently remove the control point objects

Remarks

This command will clear all control points from the animation path. If the remove parameter is True, then the control points objects will also be permanently removed.

Return Value

None

Example

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

# Remove all control points
path.clearControlPoints()

See also

<animationpath>.addControlPoint
<animationpath>.removeControlPoint