Could someone help me with this. I am trying to setAttr Translation of insectGroup. Looks like I am not plugging in the center varible correctly.
center = mc.xform(bodyA, q=True, t=True) ### Result is 0.0, 2.41, -2.6 insectGroup = mc.group(empty=True, name='Group_Insect_#') mc.setAttr((insectGroup)+ '.translate', [center], type="double3") -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/ea462c7c-29c5-487b-912d-cf90bb221c8d%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
