Use this callback to free memory allocated in the Init callback
or perform other cleanup functions (typically used for C++
plug-ins). Generally, this callback is fired aft fired when a
plug-in is removed from Softimage (just before Softimage calls
XSIUnloadPlugin). For
example, Term is triggered when you exit Softimage or unload the
plug-in (either from the Plug-in Manager or by calling XSIApplication.UnloadPlugin).
However, there are some variations, depending on the type of
plug-in item.
Plug-in Item |
Description |
Property |
Fired when a property is deleted. |
Menu |
Term is fired only if Init was fired at some point. If the menu
was never opened, then Init was never fired and Term has nothing to
do. |