setAttr() in Maya expects an argument that connects two object’s attributes together.
Note that Maya is very particular about how this should be structured. It likes to have the attribute broke out from the object variable with the “+”:
cmds.setAttr(objectAttrOut + ‘attrOut’, objectAttrIn + ‘attrIn’)
Continue Reading →