Search - User list
Full Version: unloading Houdini Engine
Root » Houdini Engine for Maya » unloading Houdini Engine
ranxerox
hey all,

is there a way to unload the houdini engine plugin once it has been used in a scene ? I've tried deleting all nodes of type “houdiniAsset”, deleting the UI etc. When I try to unload the plugin (either from mel or from the interface) I still get the error message “cannot unload the plugin because it is still in use”.


any ideas ? Is this possible ? Currently the only way seems to be to call scene->new.

thanks

-G
ranxerox
ok, it looks like it works if I flush the undo queue.

thanks

-G
awong
Yup, flushUndo would be the MEL way to do this. This behavior should be the same as any Maya plugin. The reason is because Maya still keeps the node stored inside the undo queue, so the plugin is still “being used”.
ranxerox
thanks. It does indeed work, but I am noticing that it is not relinquishing the license. Is this the expected behaviour ?

-G
awong
Yeah, that's the expected behavior unfortunately. The license isn't released until Maya exits.
ranxerox
egads, could I make this an RFE ?

-G
ranxerox
oops, I see it was already made an RFE.

thanks

-G
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Powered by DjangoBB