unloading Houdini Engine

   3368   6   2
User Avatar
Member
35 posts
Joined: Oct. 2007
Offline
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
User Avatar
Member
35 posts
Joined: Oct. 2007
Offline
ok, it looks like it works if I flush the undo queue.

thanks

-G
User Avatar
Member
818 posts
Joined: Sept. 2013
Offline
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”.
Andrew / アンドリュー
User Avatar
Member
35 posts
Joined: Oct. 2007
Offline
thanks. It does indeed work, but I am noticing that it is not relinquishing the license. Is this the expected behaviour ?

-G
User Avatar
Member
818 posts
Joined: Sept. 2013
Offline
Yeah, that's the expected behavior unfortunately. The license isn't released until Maya exits.
Andrew / アンドリュー
User Avatar
Member
35 posts
Joined: Oct. 2007
Offline
egads, could I make this an RFE ?

-G
User Avatar
Member
35 posts
Joined: Oct. 2007
Offline
oops, I see it was already made an RFE.

thanks

-G
  • Quick Links