// Description: // // This is the template to unload a script that was loaded. // This script is executed when a script is unloaded from Maya. // It allows saving memory and revert any Maya code you may have changed. // Follow this simple structure and you will have no problem to publish it. // //Any global procedures must be re-declared empty. //This allows to cleanup computer memory when unloaded. global proc nrExampleMenu() { } global proc nrTestCommand() { } //These braces declare a local space //They prevent working variables or procedures to be globally declared { //any de-initiallisation must be done here in local space //TODO: Put your de-initialisation code here (if any) //This is required if you removed a menu in the NeoReel toolbox //It basically updates the toolbox menu and its categories if(`exists neoreelToolBox`) catch(`neoreelToolBox`); }