10 - 14 Creating window


import maya.cmds

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

cmds.columnLayout()

cmds.text(label="Hello ibs")

cmds.showWindow(myWin)

cmds.columnLayout( adjustableColumn=True )

cmds.button( label='Open' )

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

Leave a comment

Log in with itch.io to leave a comment.