While it works for the example, I tried applying the same concept into my
actual code, I am getting the errors..
self.btn_add = cmds.symbolButton( width=60, height=20, annotation='Add
object(s)', image='add.xpm', command=self.add_btn_callback("item_list") )
def add_btn_callback(self, "list"):
# Do the exec when add button is clicked
--
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 view this discussion on the web visit
https://groups.google.com/d/msgid/python_inside_maya/d46089f2-a106-45d1-b630-af294ccf20b7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.