ranxerox
2016年3月17日 17:19:18
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
2016年3月17日 18:10:50
ok, it looks like it works if I flush the undo queue.
thanks
-G
awong
2016年3月17日 19:21:48
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
2016年3月18日 11:41:47
thanks. It does indeed work, but I am noticing that it is not relinquishing the license. Is this the expected behaviour ?
-G
awong
2016年3月18日 11:50:42
Yeah, that's the expected behavior unfortunately. The license isn't released until Maya exits.
ranxerox
2016年3月18日 11:52:32
egads, could I make this an RFE ?
-G
ranxerox
2016年3月18日 11:53:57
oops, I see it was already made an RFE.
thanks
-G