nottoshabi
10 October 2011, 11:12 PM
I ran into a funy problem. I'm trying to turn on the follow attribute with python. When I run this code the attribute turns on but does not make the orient connections to the joint.
mtPath = cmds.ls (type='motionPath')
for me in mtPath:
cmds.pathAnimation( me, edit=True, follow=True,bank=True)
If I turn it on and off by hand then it makes the correct connections. Has anyone run into this before? The script editor does not say much on this and neither do the docs.
mtPath = cmds.ls (type='motionPath')
for me in mtPath:
cmds.pathAnimation( me, edit=True, follow=True,bank=True)
If I turn it on and off by hand then it makes the correct connections. Has anyone run into this before? The script editor does not say much on this and neither do the docs.