I am writting a litte script in python in order to create an node based Ik -> Fk snap.
But I am running into an issue, I don’t know how to parent the shape node of my controler under the transform node of my joint. (left picture) I usually do it with this mel command ‘parent -s -r’
However I want to do it with python, I tried this command
‘mc.parent(Ctrlname, Jntname, shape=True, relative=True)’
But the result is not what I expect (right picture)
Could someone help me with this issue ?