I think it might help if you included a screenshot of your scene and your Outliner. Does this work if you connect the attributes using the Connection Editor? Or in other words, are you asking for help with making the rig work, or with converting your rig setup to Python?
On Friday, 11 January 2019 13:26:34 UTC+11, Francesco wrote: > > Hi everybody! > > I had a question regarding the python connectAttr command in Maya. > > I have created FK controllers that I connected the rotation of to the > rotation of a joint chain through the connectAttr command. The FK > controllers are in a hierarchy where there is a group and a set group above > each controller (something like tail_01_GRP --> tail_01_setGRP --> > tail_01_CNTL --> tail_02_GRP --> etc...). What I'm trying to do is create a > master controller and connect its rotation to the rotation of the setGRPs > through the connectAttr command, so that when I rotate it it rotates all > the controllers keeping the rotation to zero. > > The problem is that rotating the setGRPs doesn't rotate the joints > (guessing because the actual controller doesn't have any rotation). How > would I fix that? I know it could be done with orient constraints but I'm > trying to avoid using too many constraints. > > Thanks! > > -Francesco > -- You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group. To unsubscribe from this group and stop receiving emails from it, send an email to python_inside_maya+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/73e3377f-766c-490c-8274-722de36a4623%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.