Maya sdd_UIDesigner stand-alone 2.1.0 for Maya (maya script)
maya ui Generation tools
Bugs
Error with button command
| Status | pending |
|---|---|
| Priority | medium |
| Date | 03/22/2017 |
| Submitted by |
|
| Modify this bug | edit |
I'm using Maya 2017 osx. your script runs and make the UI perfectly but the commands on buttons radio's and tickers isn't working.
as a test I copied the video example and got this error ...see below
from maya import cmds
if(cmds.window('window1',q=1,ex=1)):cmds.deleteUI('window1')
cmds.window('window1',ret=1,mb=1)
cmds.columnLayout('columnLayout8')
cmds.button('button25',w=200,c='polySphere()',l='button25')
cmds.showWindow('window1')
# Error: name 'polySphere' is not defined
# Traceback (most recent call last):
# File "<maya console>", line 1, in <module>
# NameError: name 'polySphere' is not defined #
Comments on this bug:
sun5471 sun5471 said over 9 years ago: