pluginManager.loadClass Problems in MAXScript
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:
Now 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:
fails 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.
I've also asked about this on the Area Forums.