Announcement

Collapse
No announcement yet.

GetOcioPath() ?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • GetOcioPath() ?

    Hey guys!

    Is there any way to get the OCIO file Path in the VFB?
    Click image for larger version

Name:	vfb.JPG
Views:	576
Size:	12.5 KB
ID:	1100083

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

  • #2
    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.
    Aleksandar Hadzhiev | chaos.com
    Chaos Support Representative | contact us

    Comment


    • #3
      I want to get the OCIO config path, easy.
      Ofc in the attached screencap that would return "" because it's empty. It was just to show you what I'm trying to get.

      Comment


      • #4
        Click image for larger version

Name:	chaosgroup.JPG
Views:	181
Size:	11.9 KB
ID:	1100217
        here! I need to get the string "c:\My_Awesome_path\ocio.config" in maxscript

        Comment


        • #5
          Ah. This should do it:
          Code:
          vfbcontrol #ociofile
          Aleksandar Hadzhiev | chaos.com
          Chaos Support Representative | contact us

          Comment


          • #6
            Great! it works perfectly thanks

            Comment

            Working...
            X