Feedback

What's your question?

By: Asked from India

python procedure from menu

how do i call a procedure from outside ( menu of maya) class xyz(): .. cmds.button( label = ‘C..r..e..a..t..e’ , command = ‘a.createLayer()’)

generally it is a = xyz() a.showwindow() when doing so from the menu an error occurs “# Error: name ‘a’ is not defined”. how is it possible to call any procedure from outside.

Add comment viewed 83 times Latest activity 9 months ago

or Cancel

0 answers

Empty

No one has answered this question yet.

Be the first!