Copy link to clipboard
Copied
Hi! Thank you for seeing this post.
I would like to know if there any way to set up color management programmatically, especially for OCIO. I've search for it in scripting guides and AEGPs, but it seems they only returning data. Or maybe it still doesn't have API for that? Currently I'm working on an automated workflow, and I would like to assign the color engine to OCIO, also with a custom config path.
Copy link to clipboard
Copied
This has been highly requested recently, but still no API methos for setting OCIO settings via ExtendScript or C++, aside from enabling ACES mode with:
app.project.ocioConfigurationFile = 'ACES 1.2'
In the meantime you can try reverse engineering the prefs files if you'd like, but that will only work for new projects, not existing ones.
Copy link to clipboard
Copied
There is a workaround that may somewhat help you (it's part of what I needed to do) - if the path to your config is going to be the same path for everything, you can create a template with the right settings and set your files to be created from that template.
However, if like me you're trying to set the values based off of variables, that part does not seem to be currently available as an option through scripting.
Copy link to clipboard
Copied
Nice, yea project templates is a good workaround for sure if that can suffice for your workflow