Created
April 23, 2019 01:12
-
-
Save RodGreen/f264e1157a26786f67da002a4df9057a to your computer and use it in GitHub Desktop.
Disable for rig export
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
proc DisableForRigExport() | |
{ | |
for( $eachMesh in `ls -selection -l` ) | |
{ | |
setAttr ($eachMesh + ".overrideColor", 4); | |
setAttr ($eachMesh + ".overrideEnabled", 1); | |
setAttr ($eachMesh + ".overrideDisplayType", 2); | |
} | |
} | |
DisableForRigExport(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment