Scripted TrackViewUtility plug-ins are declared by specifying the <superclass> as TrackViewUtility . They can be used to implement new Utilities to manipulate tracks and keys in TrackView. Their UI can be registered as child of the respective TrackView.
The following Event Handlers can be implemented by a Scripted TrackViewUtility plug-in:
This handler will be called whenever the track selection has changed.
This handler will be called whenever the node selection has changed.
This handler will be called whenever the keys selection has changed.
This handler will be called whenever the time selection has changed.
This handler will be called whenever the Track View mode has changed.
This handler will be called whenever the track list has changed.
This handler will be called whenever the Track View has been closed. It can be used to do clean-up work before closing the plug-in.
This handler will be called whenever the TrackViewUtility plug-in has been initialized. It can be used to do initialization work before opening the plug-in. The value returned contains the parent Track View the TrackViewUtility plug-in has been called from. You can use the value to get the handle of the TrackView and register the dialog of the utility as child of the Track View.
This handler will be called for every object to be displayed in the TrackView. It has 3 arguments - the subAnim object to be displayed, its client (parent object) and the index inside the client.
The return value of this handler can be
#skip - the TrackView track should be filtered out and not displayed