# Result: <function lobo at 0x0D6DD8F0> #
setFocus `paneLayout -query -pane1 viewPanes`;

this means that ... Missing Something? that can be a setfocus,
panelayout ... ?
Well, my intention is to invoke a window out either through command.

> 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

Reply via email to