I use Komodo, in XSI I wrote a script to reload the plugin/plugins that
ways you don't have to keep plugin manager open. I edit the code in komodo
and just run the script. I run the script from script editor but you can
also conveniently put it under a button on a shelf or toolbar. You can
specify multiple plugins to reload in the script. Here is the script:
--------------------------------------------------------------------------------------------------------------------
import os

PLUGINS_TO_RELOAD = ['you_plugin_file1.py', 'you_plugin_file2.py']

plugins = Application.Plugins

for p in plugins:

    pluginFileName = p.Filename
    pluginName = os.path.basename(pluginFileName)

    if pluginName in PLUGINS_TO_RELOAD:
        Application.UnloadPlugin(pluginFileName)
        Application.LoadPlugin(pluginFileName)
------------------------------------------------------------------------------------------------------------------------------

Reply via email to