View Full Version : Find children of a Window?


teacup
05 May 2007, 10:46 AM
Does anyone know how I can find the children of a window ui element? I can find the children of a layout element using `layout -q -childArray`, but 'window' doesn't have this flag. Any one got any ideas?

Thanks alot

Andimation
05 May 2007, 01:54 PM
I have never had to do this because in general you would only have one child layout of a window. Why do you have multiple children?, is there a special reason for it?

I think the only way to do it would be to do the reverse and list all controls or layouts in the maya session and then query their parent using either the "control" or "layout" commands. If it matches then its a child of the window.

CGTalk Moderation
05 May 2007, 01:54 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.


1