> CC_runOnce

description

This plug-in is a time saver for C++ developers. No more need to unload, compile then reload to test a C++ Softimage|XSI plug-in. Just specify the location of your .dll file, put some optional code to be fired while your plug-in is loaded, and click the "run" button. Everything else is handled.

To pop-up the interface, simply call the "CC_runOnce" command without any argument.

Compatible with Softimage|XSI 7 and above.

CC_runOnce snapshot
features
  • - loading and unloading of plug-ins is automatically managed
  • - put some code to be executed while the plug-in is loaded
  • - see the details of your plug-in
plug-in items
Commands
CC_runOnce(filepath, code, language, unload)

Main command. If the first argument is empty, then the CC_runOnceProp property is inspected.

  • * filepath (string): Filepath of the plugin to load.
  • * code (string): Code to execute while the plugin is loaded.
  • * language (string): Scripting language of the code to execute. Valid languages are: "JScript", "VBScript", "Python", "PerlScript", "Python", and "PythonScript".
  • * unload (bool): True to unload the plug-in after code execution.

  • * return (string): The plug-in name.
Properties
CC_runOnceProp

Main property.

installation
  • - copy the "CC_runOnce.dll" file to your "{XSI_USER_PATH}/Application/Plugins/" directory.
  • - update your XSI plug-ins using the "Plugin Manager" if necessary.
changelog
v1.2 - October 11, 2009
  • - code cleaning.
  • - the plug-in is now under the GPL license.
v1.1 - November 17, 2008
  • - fixed XSI crashing while exiting.
v1.0 - September 30, 2008
  • - initial release.