Created
December 9, 2017 15:46
-
-
Save manhha00/37cb9b2c4203d2db0b92a936d73671c2 to your computer and use it in GitHub Desktop.
maya - mel - select object from vertext selected - Buexe - cgsociety
This file contains 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
$sel = `ls -sl`; | |
select -clear; | |
SelectToggleMode; | |
for ( $s in $sel ) { | |
string $buff[]; | |
tokenize $s "." $buff; | |
if ( size ( $buff ) == 2 ) | |
select -r $buff[0]; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment