Hi Kamil. Thanks for suggestion. But the cmds deleteUI/window modules can't seem to detect the PyQt window's titles :(
On Mon, Jan 9, 2012 at 5:31 PM, Kamil Hepner <[email protected]> wrote: > It's very simple: > > > winName = "myWindow" > if pm.windows.window(winName, exists=True): > pm.windows.deleteUI(winName) > > > 2012/1/9 Panupat Chongstitwattana <[email protected]> > >> In Maya 2010, if I run the script to start a UI that is already running, >> it would crash Maya D: How can I check if the UI is already running and >> close it? >> >> -- >> view archives: http://groups.google.com/group/python_inside_maya >> change your subscription settings: >> http://groups.google.com/group/python_inside_maya/subscribe >> > > -- > view archives: http://groups.google.com/group/python_inside_maya > change your subscription settings: > http://groups.google.com/group/python_inside_maya/subscribe > -- view archives: http://groups.google.com/group/python_inside_maya change your subscription settings: http://groups.google.com/group/python_inside_maya/subscribe
