Reload / update deformer plugin in a scene


#21

I’m sorry that I can’t assist you better. Since it’s only a small utility that I use at home (and not in mass production), I’m not really sure about its quirks and limitations in other situations besides mine :D.

If this really interests you (I won’t be offended if not :wink: ), then I suggest you would start eliminating chunks of code from the plugin, until it would be bare-bones, and then it would be easier to debug the problem.

The temp file shows the connections that the plugin had. I’m not sure what they are in your case (your plugin, right?).


#22

Did you try, perhaps, to comment the code in the mel script that restores the connections, and then connect the deformer with your standard script?
This should be the first test, and after you make this work, your should compare the connections the mel script it trying to make with the ones your script makes.

Actually the whole process here is not that complicated. The connections are saved, the deformer is deleted, a new deformer is created, and the connections are remade for the new deformer. You should try to make this process manually and see where it fails.


#23

This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.