ICENode Callbacks

Callback

Description

Init (ICE Nodes)

Fired after the plug-in loaded (that is, after XSILoadPlugin returns). For example, Init is fired when you start Softimage or load the plug-in in the Plugin Manager.

This is where you initialize cached user data.

Evaluate

This callback must be implemented for each registered ICENode. The evaluation phase is typically called in a multi-threaded context.

BeginEvaluate

This optional callback is called during a single-threaded phase where memory is usually allocated in preparation for the multi-threaded evaluation phase.

EndEvaluate

This optional callback is a single-threaded task for freeing up memory, cleaning resources, etc.. anything required to undone the work performed in BeginEvaluate.

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).

 



Autodesk Softimage v7.5