Set IPRViewer Colorspace on Creation

   135   0   0
User Avatar
Member
12 posts
Joined: April 2017
Offline
Hello,

I have the code to set the IPRViewer colorspace when Houdini starts:

        panel = hou.ui.paneTabOfType(hou.paneTabType.IPRViewer)
        panel.setOCIODisplayView(
            display="ACES",
            view="Rec.709"
        )

However, if the artist creates a new one it reverts to the default and the default might change depending on the project.

Is there a callback or way to set this on creation?

Many thanks in advance.
  • Quick Links