import maya.cmds as cmds

cmds.connnectAttr("objectA.translateX", "objectB.rotateX")


Like so?

Richard



On Tue, Feb 8, 2011 at 4:21 PM, alireza fattahi <[email protected]>wrote:

> Hi
> I'm at begining of Maya scripting so sorry for the noob question.
> In pymel how can i bound attributes of an object  to another object so
> that they response to eachother in realtime.
> For example changing translateX of objectA instantly change rotationX
> of objectB like Maya expressions.
>
> --
> http://groups.google.com/group/python_inside_maya
>

-- 
http://groups.google.com/group/python_inside_maya

Reply via email to