I have the following script that selects all the children of the selected object but only those with the namespace "*Control1" (shoulderControl1, fingerControl1 etc)
// select all the children of the selected object
select -hi ;
// place all selected objects with a specific name into an array
string $selected[ ] = `ls -sl "*Control1"`;
// replace current selection with the array
select -r $selected ;
It works and does what I need it to do but I was wondering if there is there an easier/shorter way to do this?
Thanks!
Replies
select -r (`ls -sl "*Control1"`);