10/10/2022
jaden programming » Devlog
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
jaden programming
More posts
- adding delete button to windowNov 28, 2022
- how to add a intslider to buttonNov 21, 2022
- create pyramid using a loop and then adding buttonNov 14, 2022
- simple commandsNov 14, 2022
- Creating a pyramidNov 14, 2022
- QuizNov 14, 2022
- how to code cubes that move in incrementsOct 17, 2022
- how to add a function to a button in a windowOct 17, 2022
Leave a comment
Log in with itch.io to leave a comment.