Skip to content

Instantly share code, notes, and snippets.

@phmongeau
Last active December 18, 2015 03:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save phmongeau/5716160 to your computer and use it in GitHub Desktop.
Save phmongeau/5716160 to your computer and use it in GitHub Desktop.
select all instances of selected object.
string $sel[] = `ls -sl`;
string $shapes[] = `listRelatives -path -s $sel[0]`;
select `listRelatives -ap -path $shapes[0]`;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment