I am wondering what the difference is between running FreezeTransformations by itself in the script editor as opposed to in a script.
select -r Head_CTRL;
If I run the above by itself in the script editor it works perfectly. It will as expected zero out my transform attributes which is what I want. However if I run it within my script it moves my geo to grid origin and leaves the pivot point snapped to my joint. Not what I want!
Below is a small snippet which is attached to a button in a gui. All I want to do is create a curve, snap it to my joint and delete the constraint, and finally freeze the transforms.