If I paste this code into my console, I don't get an error. perhaps you have accidentally modified the "cmds" module in memory. Maybe you've set a function to a list.
-brad On Apr 24, 2013, at 11:26 PM, Diana Chacha <[email protected]> wrote: > import maya.cmds as cmds > > def main(): > root_LOC=cmds.spaceLocator (n = 'root_LOC', r = 2) > cmds.move (0, 18.485, -2.815, 'root_LOC', relative=True) > print root_LOC > root_JNT=cmds.joint (n = 'root_JNT', r = 2) > cmds.move (0, 18.485, -2.815, 'root_JNT', worldSpace=True) > print root_JNT > root_CTL=cmds.circle(n = 'root_CTL', r = 2) > cmds.move (0, 18.485, -2.815, 'root_CTL',objectSpace=True, relative=True) > print root_CTL > > main() -- You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
