# RIR. Python OverrideGraphicSettings

**URL:** <https://discourse.mcneel.com/t/rir-python-overridegraphicsettings/94364>\
**Category:** Revit\
**Created:** [January 6, 2020, 9:23pm UTC](https://discourse.mcneel.com/t/rir-python-overridegraphicsettings/94364 "2020-01-06T21:23:12Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![hrm.rodriguez](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/hrm.rodriguez/32/759300_2.png) [@hrm.rodriguez](https://discourse.mcneel.com/u/hrm.rodriguez)\
**Post date:** [January 6, 2020, 9:23pm UTC](https://discourse.mcneel.com/t/rir-python-overridegraphicsettings/94364/1 "2020-01-06T21:23:12Z")

</div>

All,

i am trying to set a simple Python routine that will allow me to override any element graphic setting - via python in GH - the goal is to set up a node/script that will allow me to override the color of any element base on some value / parameters. Any help will be greatly appreciated! i am using Revit 2020 I notice that a few changes were made to the api from 2019 on the OverrideGraphicSettings.

 ![RIR.python](https://global.discourse-cdn.com/mcneel/uploads/default/original/3X/b/f/bf58d2f2fb7696a1390156bd990ec9ba7fecc124.jpeg)

[PythonChangeColor\_RVT2020.gh](https://discourse.mcneel.com/uploads/short-url/7147apewPjSAgn9CK4D9n1URx3X.gh) (5.8 KB)

thank you!

---

<div class="post-metadata">

**Author:** ![eirannejad](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/eirannejad/32/775509_2.png) [@eirannejad](https://discourse.mcneel.com/u/eirannejad)\
**Post date:** [February 4, 2020, 8:25pm UTC](https://discourse.mcneel.com/t/rir-python-overridegraphicsettings/94364/2 "2020-02-04T20:25:07Z")

</div>

Hey @hrm.rodriguez

Take a look at this. Hope it helps

[https://mcneel.github.io/rhino.inside-revit/en/beta/guides/revit-views#setting-vg-overrides](https://mcneel.github.io/rhino.inside-revit/en/beta/guides/revit-views#setting-vg-overrides)

---

<div class="post-metadata">

**Author:** ![hrm.rodriguez](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/hrm.rodriguez/32/759300_2.png) [@hrm.rodriguez](https://discourse.mcneel.com/u/hrm.rodriguez)\
**Post date:** [February 5, 2020, 5:28pm UTC](https://discourse.mcneel.com/t/rir-python-overridegraphicsettings/94364/3 "2020-02-05T17:28:05Z")

</div>

Hi @eirannejad

this is great!! let me test this out and see if i have any input or comments.

thank you!
