if (cmds.window(myWindow, exists=True)):
cmds.deleteUI( myWindow)
#Checks the window doesnt already exist, if so, it'll go ahead and delete the window and start from #scratch.
cmds.showWindow(myWindow)
#Creates a window withe title "Slider Window", width/height 100/200 respectively. Show window is #essential to display it on screen.
No comments:
Post a Comment