Recurse UI layouts


#1

Hey there is there an easy way to recurse layouts in mel [UI] ? Say I want to do something like change the font on all frameLayouts in toolSettings window… other than querying and using -childArray and then objectTypeUI. I don’t want to investigate that work if there is some more obvious route to check out.

I prefer to not copy existing mel files as I would have to update then on each release, I find it better to let Maya startup and then have scripts modify after that.

Tks.
A


#2

Oh here is something…

string $f[] = lsUI -type control -type text;