# Need help enabling the OCIO node through python

**URL:** <https://community.shotgridsoftware.com/t/need-help-enabling-the-ocio-node-through-python/4580>\
**Category:** RV\
**Created:** [January 13, 2020, 3:19pm UTC](https://community.shotgridsoftware.com/t/need-help-enabling-the-ocio-node-through-python/4580 "2020-01-13T15:19:08Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![alexaz](https://sea1.discourse-cdn.com/shotgunsoftware/user_avatar/community.shotgridsoftware.com/alexaz/32/82_2.png) [@alexaz](https://community.shotgridsoftware.com/u/alexaz)\
**Post date:** [January 14, 2020, 1:22am UTC](https://community.shotgridsoftware.com/t/need-help-enabling-the-ocio-node-through-python/4580/2 "2020-01-14T01:22:27Z")

</div>

Hi Mikael,

I have replied in 1:1 post with you but will paste here for others to find as well.

I hear you that RV can be a challenge to set up. It’s a downside of it being so configurable. But on the bright side once you can set it up you can really get what you want out of it.

To me it sounds like you’re trying to bypass RV color pipeline and force it to use OCIO instead? Is that correct? If so, you don’t need to go through manually turning off every single node. We already have a package that you can modify.

Have you had a chance to take a look at our OCIO setup guide? You can see some details on how to go through setting up your own OCIO here:

> [@Getting started with OCIO in RV](https://community.shotgridsoftware.com/t/getting-started-with-ocio-in-rv/372):
>
> RV has a couple of nodes that can be used instead of or complimentary to the [RV’s color pipeline](https://community.shotgridsoftware.com/t/what-is-the-tl-dr-on-the-rv-color-pipeline/). You can get some info about OCIO in RV here: [OpenColorIO Integration](https://help.autodesk.com/view/SGSUB/ENU/?guid=SG_RV_rv_manuals_rv_opencolorio_integrations_html) If you check out the OCIO package info in the Package manager RV -\> Preferences -\> Packages -\> OpenColorIO Basic Color Management , there’s a bit of a description about how OCIO can be auto-setup via a script. You can create rv\_ocio\_setup.py file in your support path under the Python directory to have your own script auto-determi…

If you haven’t written a package before, you can get started here:

> [@How do I write my first package in RV?](https://community.shotgridsoftware.com/t/how-do-i-write-my-first-package-in-rv/96):
>
> RV can be nearly infinitely customizable but it can be difficult finding documentation for where to begin developing your own plugins. There are a couple of things that you should know. RV offers a couple of ways to write plugins: Mu, Python, PySide and GLSL. The best way to start with RV scripting is to use Python. Unfortunately, Python is not native to RV and most of “Python” commands that you will find in RV are bindings on top of Mu. However, this means that you can use nearly all command…

And if you’d like to see how RV’s color pipeline works in general, this is a good place to start:

> [@What is the tl;dr on the RV color pipeline?](https://community.shotgridsoftware.com/t/what-is-the-tl-dr-on-the-rv-color-pipeline/100):
>
> In RV there are two separate ways to configure color: RV color pipeline or OCIO color management . RV color pipeline involves adding and re-arranging nodes throughout the color pipeline. All of the configuration is handled through the source\_setup.rvpkg package. You can get more details on it here: [Chapter 12 - Automated Color and Viewing Management](https://support.shotgunsoftware.com/hc/en-us/articles/360024280254-Reference-Manual#Chapter_12_Automated_Color_and_Viewing_Management) You can see the Image Processing graph here: [Chapter 2 - Image Processing Graph](https://support.shotgunsoftware.com/hc/en-us/articles/360024280254-Reference-Manual#Chapter_2_Image_Processing_Graph) I think the simplified takeaway from this is the following:

If you would like to utilize a Python Console, you can enable `Shotgun Review` package, then go to `RV -> SG review -> Initialize Shotgun`. Then go to `Tools -> Shotgun Python Console...`. You can see API reference under `RV -> Help -> Mu Command API Browser`.

Also as a tip, you don’t have to reinstall RV package if you modify its Python or Mu file in-place in the RV\_SUPPORT\_PATH/Python/ area. You’ll still need to restart RV.

Hope this helps!

Thanks,  
Alexa

---

_[View the full topic](https://community.shotgridsoftware.com/t/need-help-enabling-the-ocio-node-through-python/4580)._
