10/10/2022


import maya.cmds

myWin = cmds.window(title="MY WINDOW", widthHeight=(500, 200))

cmds.columnLayout()

cmds.text(label="Hello jaden")

cmds.showWindow(myWin)

cmds.columnLayout( adjustableColumn=True )

cmds.button( label='Do nothing' )

cmds.button( label='Close', command=('cmds.deleteUI(\"' + myWin + '\", window=True)') )


this was the commands which created a small window in maya with buttons 

Leave a comment

Log in with itch.io to leave a comment.