hey guys
I created a window in Maya, and I need to list all checkboxes in it.
Is there a way to do that only for this window?
thanks
hey guys
I created a window in Maya, and I need to list all checkboxes in it.
Is there a way to do that only for this window?
thanks
name your checkboxes in some way, for e.g;
mc.checkBox('chkAAOpen')
mc.checkBox('chkAASave')
etc
then use this:
chks = [ x for x in mc.lsUI(typ='control') if x.startswith('chkAA') ]