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

<animationpath>.removeEvent

Remove all event triggers with the specified name

<animationpath>.removeEvent(  
name  
)  
name
Name of the event. This can be any string which will be assigned to the name attribute of the viz.PATH_EVENT event object.

Remarks

Remove all previously added events from the animation path with the specified name.

Return Value

None

Example

# Create event when end is reached
path.addEventAtEnd('end')
.
.
.
# Remove 'end' event
path.removeEvent('end')

See also

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