Created
July 14, 2021 02:12
-
-
Save yamadaaaaaaa/06233e6201a704130cb6bdb7f92744e8 to your computer and use it in GitHub Desktop.
set_ignoreCSrule_on.py
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
# Python | |
import maya.cmds as cmds | |
def set_ignoreCSrule_on(): | |
list_fileNodes = cmds.ls(type='file') | |
for str_file in list_fileNodes: | |
cmds.setAttr(str_file + '.ignoreColorSpaceFileRules',1) | |
set_ignoreCSrule_on() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment