All the entry points of your plugin that Softimage is going to call must be to the SoftWishNNN
name in the .cus file, and to SoftWishEntryPoint in your tcl
code. So if WonderEffect has an INIT entry point you must have a line like: INIT_FUNCTION
SoftWish101
in your .cus file and a procedure SoftWishInit in your tcl code. If
WonderEffect wants Softimage to call it at SETUP, then it needs a line like:
SETUP_FUNCTION SoftWish101
in the .cus file. and a SoftWishSetup procedure in the Tcl code. In either
case the Tcl code containing these procedures must be made available by your pkgIndex.tcl
file. Similarly if you have an update function you would have a SoftWishUpdate procedure
and the line:
UPDATE_FUNCTION SoftWish101
in your .cus file. We recommend ALWAYS having a cleanup entry point:
CLEANUP_FUNCTION SoftWish101
and the associated SoftWishCleanup procedure since this lets us clean up interpreters
sooner.