Created
October 20, 2022 20:28
-
-
Save RedForty/c64c822fc88c4417b190802601bbad38 to your computer and use it in GitHub Desktop.
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
string $currentPanel = `getPanel -withFocus`; | |
int $state = `isolateSelect -q -state $currentPanel`; | |
if ($state) { | |
enableIsolateSelect $currentPanel false; | |
} else { | |
enableIsolateSelect $currentPanel true; | |
$allMeshObjs = `ls -typ mesh`; | |
for ($eachObject in $allMeshObjs) { | |
isolateSelect -addDagObject $eachObject $currentPanel; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment