Skip to content

Instantly share code, notes, and snippets.

@yamadaaaaaaa
Created July 14, 2021 02:12
Show Gist options
  • Save yamadaaaaaaa/06233e6201a704130cb6bdb7f92744e8 to your computer and use it in GitHub Desktop.
Save yamadaaaaaaa/06233e6201a704130cb6bdb7f92744e8 to your computer and use it in GitHub Desktop.
set_ignoreCSrule_on.py
# 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