Skip to content

Instantly share code, notes, and snippets.

@Roumenov
Created August 20, 2022 08:10
Show Gist options
  • Save Roumenov/59a6bffd1ffb70d13ae37162776d956c to your computer and use it in GitHub Desktop.
Save Roumenov/59a6bffd1ffb70d13ae37162776d956c to your computer and use it in GitHub Desktop.
some steps i need to put into the export functions because i keep repeating them but the manual cleanup hasn't been solved for yet
#assumes target objects are selected, but really they should be found from network nodes
root = pm.group(name = 'GenChar')
voe.import_references()
pm.select(root, r=1)
pm.mel.eval('searchReplaceNames "Fkel_" "Skel_" "hierarchy";')
pm.mel.eval('isolateSelect -state 1 modelPanel4;')
#double check which pane
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment