If I have two spheres one with a skin wrap and the other is the control object. Now I deform the control object with a modifier and everything works as expected. Now I press the reset button on the skin wrap modifier and the object returns to its original shape. Next I disable the deforming modifier on the control object and the skin wrap objects deformation is now completely messed up. Now with the control object at its undeformed state if I execute $[#Skin_Wrap].meshDeformOps.reset() the skin wrapped object's deformation doesn't update and remains messed up. Now if I press the reset button the skin wrapped object returns to its original state and the deformations are not corrected. Does anyone know how to script a reset so that it does exactly what the reset button does?
Thanks in advance for your help,