Hello
I am getting this error when I run my following code. Could somebody help me
figure out what I could add or replace since it did work before now it is not.
CODE THAT I WANT TO RUN:
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()
ERROR I AM GETTING:
# Error: 'list' object is not callable
# Traceback (most recent call last):
# File "<maya console>", line 14, in <module>
# File "<maya console>", line 4, in main
# TypeError: 'list' object is not callable #
--
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.