Skip to content

Instantly share code, notes, and snippets.

@lapaev
Created March 26, 2015 01:22
Show Gist options
  • Select an option

  • Save lapaev/876bd02e5e22fdae87ab to your computer and use it in GitHub Desktop.

Select an option

Save lapaev/876bd02e5e22fdae87ab to your computer and use it in GitHub Desktop.
Get name of object from component mode
string $parent[] = `listRelatives -p`;
$parent = `listRelatives -p $parent[0]`;
string $obj = $parent[0];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment