Change and record Input Color Space

85 views
Skip to first unread message

gnn

unread,
Jun 30, 2017, 9:04:17 PM6/30/17
to Python Programming for Autodesk Maya
Hello!
Did someone know how to change and record the Input Color Space to 'Raw' of maya preferences in Python or pymel?
cf: 'reapply Rules to Scene' then 'Save'
thank you for any help

Michael Boon

unread,
Jul 3, 2017, 5:35:41 PM7/3/17
to Python Programming for Autodesk Maya
Doing a text search for the button label, via the translation inputSpaceRulesUI_res.py file, I found this:

It looks like this "Reapply Rules to Scene" button is created in ...\Program Files\Autodesk\Maya2017\Python\Lib\site-packages\maya\app\colorMgt\inputSpaceRulesUI.py
in the function ChainRule.createUI, line 503

"Input Color Space" is the menu self._colorSpaceMenu created in ColorSpaceRule.createColorSpaceMenu in the same file, line 195.

Hopefully you can chase down what you need from there.

gnn

unread,
Jul 7, 2017, 5:31:08 PM7/7/17
to Python Programming for Autodesk Maya
Thank you very much for your answer Michael!
Reply all
Reply to author
Forward
0 new messages