Thanks. Yeah I guess I'll have to do something like that... This seems to work: string $objects = "pSphere1 pSphere2"; string $selArray[]; $selArray = stringToStringArray($objects, " "); select -cl; for ($i=0; $i < size($selArray); $i++) { select -add $selArray[$i]; }; Anyone knows how to check if a specific scriptnode…
Just thought it would be much faster and more intuitive to have a ctrl-obejct than having to go through menus to select it from a list. But mostly I used it as an excuse to practice on my scripting :P
I don't know about quick select sets. It's sounds pretty likely they would include this function, but I've been out of the Maya game for a little while. It seemed like what he was describing was pretty easily accomplished with a script. Mostly I was just in the mood for a little MEL ;)
I think you would handle this by storing them in an array, and selecting them from an array. I don't know off the top of my head how you would code this, but I hope this can lead you in the right direction, and offer some prompt help. I think this may help: http://accad.osu.edu/~aprice/courses/694/variables.html#array
Seems like a Shelf button would be the best way ;) Whargoul's idea is a solid improvement though, a more generic scriptJob that queries a specific custom attribute is much more flexible than a hard-coded one, and allows multiple of these "master control" objects to be used without writing more than one script. You could…