Command Callbacks

Callback

Description

Execute (Command)

Fired when the command is invoked. Gets the command arguments (if any), executes the command, and returns the result (if any).

Init (Command)

Optional. Fired the first time a command is invoked after the plug-in is loaded. Specifies the return value and arguments of the command.

Term

Optional. Fired when a plug-in is removed from XSI (just before XSI calls XSIUnloadPlugin). For example, Term is triggered when you exit XSI or unload the plug-in.

Unload, Reload

Fired when the plug-in is cached (reloaded) and uncached (unloaded). By default, all plug-ins are cached, but users can remove a plug-in from the cache (by right-clicking a plug-in in the plug-in tree and clearing the Cached checkmark).



SOFTIMAGE|XSI v6.01     

Return to Softimage XSI Index