Close progress bar via python

Close progress bar via python

Anonymous
Not applicable
600 Views
1 Reply
Message 1 of 2

Close progress bar via python

Anonymous
Not applicable

Is there a way to close a current open progress bar by python?

I am talking about this window:
https://download.autodesk.com/us/maya/2011help/CommandsPython/progressBar.html6

So checking if the progress bar is open and close it.

0 Likes
601 Views
1 Reply
Reply (1)
Message 2 of 2

Anonymous
Not applicable

Try this:

if cmds.window(window, exists = True):
	cmds.deleteUI(window)
0 Likes