Message 1 of 2

Not applicable
07-11-2017
01:32 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Is there a way to reload a plugin from within the plugin's GUI menu? The plugin is written in c++ and can use python or mel if that helps..
I have tried unloadPlugin/loadPlugin, which comes up with an error that says the plugin is being used so it can't be reloaded. If I force it, Maya crashes. Same thing with unloadPluginWithCheck which I just found in the script editor.
These commands work fine if I run them in the script editor, but if I run them from a menu in my plugin it doesn't work. Maybe there is a workaround?
Thank you!
Solved! Go to Solution.