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

<animationpath>.clearEvents

Remove all events from the animation path

<animationpath>.clearEvents()  

Remarks

Remove all previously added events from the animation path.

Return Value

None

Example

# Create event when end is reached
path.addEventAtEnd('end')
.
.
.
# Remove all events
path.clearEvents()

See also

<animationpath>.addEventAtControlPoint
<animationpath>.addEventAtDistance
<animationpath>.addEventAtEnd
<animationpath>.addEventAtTime
<animationpath>.removeEvent
<vizact>.onPathEvent
<viztask>.waitPathEvent
viz.PATH_EVENT