yes. it would go something like this
import maya.cmds as cmds
def windowNAMEinvoke():
if cmds.window("windowNAME", exists=True):
cmds.deleteUI("windowNAME")that should be correct. Brandon L. Harris On Dec 7, 7:25 am, Vitor Lôbo Ramos <[email protected]> wrote: > In MEL, to invoke a window, I use the command: > global proc windowNAMEinvoke (){ > > if (`window -ex "windowNAME"`) > deleteUI "windowNAME"; > > would be like this in python? -- http://groups.google.com/group/python_inside_maya
