Adverti horiz upsell

Maya sdd_UIDesigner stand-alone 2.1.0 for Maya (maya script)

maya ui Generation tools

License
$20.00
(qty: 1)

  • Check 16 Future Updates Included
  • Check 16 Highend3d Quality Checked
  • Check 16 Purchase Guarantee
  • Check 16 Support Included

Compatibility

  • 2016, 2015, 2014, 2013

Operating Systems

  • Windows

History

Created:11/10/2015
Last Modified:12/14/2017
File Size: 320 KB

Keywords

sdd, designer, maya

Bugs

Error with button command

Statuspending
Prioritymedium
Date03/22/2017
Submitted byjimp74 jimp74

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

    sun5471 sun5471 said over 7 years ago:

    'polySphere()' is a function in maya.cmds module,So you should input button command : cmds.polySphere()

Post a comment: