PDA

View Full Version : how to connect 2 attributes to a slider.


MegaManZZ
07-09-2009, 05:33 PM
I'm a little confused as to how to connect two attributes to a slider.
i know this is the code to connect one attribute.
import maya.cmds as cmds

cmds.window( title='Attr Field Slider Groups' )
objName = cmds.sphere()
cmds.columnLayout()
cmds.attrFieldSliderGrp( min=-10.0, max=10.0, at='%s.tx' % objName[0] )
cmds.showWindow()


I was hoping i could do something along the lines on this
# cmds.attrFieldSliderGrp( min=-10.0, max=10.0, at='%s.tx, %s.tz
' % objName[0])

is anything like this possible?

CGTalk Moderation
07-09-2009, 05:33 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.