Perhaps I wasn't clear.

It's not that Maya won't unload and reload the plug-in.  Rather, changes to
the plug-in code are not being picked up.

My current workflow is to create a new scene
Unload the plug-in
Reload it

Create the new MPxNode node.

I'm just getting into plug-in development so I'm adding and changing
attributes on the node quite a bit, also playing with the compute,
connectionMade virtual functions.

So far all attempts to get the new code picked up isn't working,
Restart is the only way. :(

-Dave


On Fri, Jan 15, 2010 at 4:36 PM, Felix Ulber <[email protected]> wrote:

> Force unload is no good. Try New Scene and then unload/reload. This can
> also be done by script -> shelf button.
>
> thirstydevil schrieb:
> > I've not really done any API work in maya.  We started to write some
> > scripted plug-ins but it seems the only way to properly reload the
> > code is by restarting maya.  Force unloading as reloading the plug-in
> > isn;t picking up any of the changes.
> >
> > Any ideas?
> >
> > -Dave
> >
>
>
> --
> http://groups.google.com/group/python_inside_maya
>
-- 
http://groups.google.com/group/python_inside_maya

Reply via email to