I am trying to use sliders to move objects along the x,y and z axis. This is my code so far:
import maya.cmds as cmds
cmds.columnLayout( adjustableColumn=True )
cmds.intSlider(min=-100, max=100, value=0, step=1, dc = cmds.move(x=True))
cmds.showWindow()
I keep getting this error
# Error: line 1: TypeError: file <maya console> line 10: Invalid arguments for flag 'dc'. Expected string or function, got NoneType #
I am very new to Python so I am not sure what it means. Many Thanks, Martyn
you have to create a function containing cmds.move()
I can explain any part you would not understand