Hi,
I started playing with deformer nodes, and I assume that what I'm looking for already lies around. The problem from the doc:
If you force the unload of a plug-in while it is in use, it will not be possible to reload node plug-ins. This is because existing nodes in the scene will have to be converted to “Unknown” nodes, and on plug-in reload, you will not be allowed to change the type of these existing nodes.
In practice if I use force, I need to restart maya afterwards, since I can't create a deformer node afterwards even in a new scene.
I'm looking for a two part script, which I can run with commandPort.exe in the pre/post build events in VS. The first part would locate all my deformer object in the scene, save their connections to a temporary file, delete them, and unload the plugin.
The second part would copy the new .mll, load it, create the deformer nodes, and reconnect them according to the temp file.
I assume that instead of saving the connections and restoring them, it would be easier to save the current scene in a temp file and reload it. But if the scene is big, it would be quite slow.
Also if anyone has other suggestions I would be happy to hear them out.


Keep getting errors while setting it up.