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?
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?
