GetOcioPath() ?

Hey guys!

Is there any way to get the OCIO file Path in the VFB?

I’m looking for a way to know if there is any path written here.
Thanks!

Not sure what you mean. If you’ve loaded an OCIO config in the designated slot it will appear there; this includes the case where the configuration is loaded via an environment variable. Nothing is loaded in the attached screencap.

I want to get the OCIO config path, easy. :slight_smile:
Ofc in the attached screencap that would return “” because it’s empty. It was just to show you what I’m trying to get.


here! I need to get the string “c:\My_Awesome_path\ocio.config” in maxscript :slight_smile:

Ah. This should do it:
vfbcontrol #ociofile

Great! it works perfectly thanks :wink: