Created
November 22, 2013 13:27
-
-
Save hmasato/7599828 to your computer and use it in GitHub Desktop.
[Maya, mel] _qset2obj
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| proc string[] _qs2obj(string $qs[]) | |
| { | |
| string $q[]=`ls -type "objectSet" $qs`; | |
| if(size($q)<1) return($qs); | |
| return(stringArrayCatenate(stringArrayRemove($qs, $q), _qs2obj(`sets -q $q`))); | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| proc string[] _qsets2obj(string $qs[]) | |
| { | |
| string $q[] = `ls -type "objectSet" $qs`; | |
| if(size($q) < 1) return($qs); | |
| return(stringArrayCatenate(stringArrayRemove($qs, $q), _qs2obj(`sets -q $q`))); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment