I am having problems with pluginManager.loadClass. The plugin is a deferred plugin. When Max loads, its in the list of plugins in the plugin manager... but it's got a yellow dot to denote it's deferred.
So I add:
pluginManager.loadClass MyPluginNameNow the plugin is green in the plugin manager. But my script that called it fails.
However... if I then re-run my script, it works.
Also... if I happen to call it manually (it's a file export plugin) it works. And if I then run my script, it works.
In other words, the MAXScript:
pluginManager.loadClass MyPluginNamefails when first called but not later. But I obviously don't want the users of my script to always have to open my tool, do a failed export, then reopen my tool to do the final export.
Any ideas?
I've also asked about this on the Area Forums.
By lightcube · 2011-02-28
Anubis · 2011-03-01