# Overriding colors(element) in certain views

**URL:** <https://forum.dynamobim.com/t/overriding-colors-element-in-certain-views/37530>\
**Category:** Uncategorized\
**Created:** [June 24, 2019, 11:19am UTC](https://forum.dynamobim.com/t/overriding-colors-element-in-certain-views/37530 "2019-06-24T11:19:03Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![JC.Moreno](https://avatars.discourse-cdn.com/v4/letter/j/6de8d8/32.png) [@JC.Moreno](https://forum.dynamobim.com/u/JC.Moreno)\
**Post date:** [June 24, 2019, 11:19am UTC](https://forum.dynamobim.com/t/overriding-colors-element-in-certain-views/37530/1 "2019-06-24T11:19:03Z")

</div>

Hi,

I would like to know if it’s possible to override the color of some elements in certain views.  
My graph works well in the active view but not in the views I would like.

My knowledge of python and the revit API is limited or null. I tried to modify the clockwork Element.OverrideTransparencyInView node but it doesn’t work.

 ![Capture7](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/4/9/490fb170107efe1665c8d4c3daa27828f07548cf.png) ![Capture8](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/0/f/0f199fda444fea723c23c791814c8cee488544a7.png) ![OverrideTransparencyInView](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/f/7/f73beb8ae55c308a458711a762914097b715f5b1.png)

---

<div class="post-metadata">

**Author:** ![Nick\_Boyts](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/nick_boyts/32/76313_2.png) [@Nick\_Boyts](https://forum.dynamobim.com/u/Nick_Boyts)\
**Post date:** [June 24, 2019, 4:51pm UTC](https://forum.dynamobim.com/t/overriding-colors-element-in-certain-views/37530/2 "2019-06-24T16:51:08Z")

</div>

Please repost your first image. Be sure to zoom in until your nodes are legible then use the Export Workspace as Image button in the top right corner.

---

<div class="post-metadata">

**Author:** ![JC.Moreno](https://avatars.discourse-cdn.com/v4/letter/j/6de8d8/32.png) [@JC.Moreno](https://forum.dynamobim.com/u/JC.Moreno)\
**Post date:** [June 28, 2019, 6:52am UTC](https://forum.dynamobim.com/t/overriding-colors-element-in-certain-views/37530/3 "2019-06-28T06:52:29Z")

</div>

Sorry!

I didn’t notice.

 ![Capture8](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/a/9/a963facfa4954149386452411acd145a2bc4c161.png)

---

<div class="post-metadata">

**Author:** ![Nick\_Boyts](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/nick_boyts/32/76313_2.png) [@Nick\_Boyts](https://forum.dynamobim.com/u/Nick_Boyts)\
**Post date:** [June 28, 2019, 1:27pm UTC](https://forum.dynamobim.com/t/overriding-colors-element-in-certain-views/37530/4 "2019-06-28T13:27:27Z")

</div>

Node previews would be nice as well. It’s hard to tell what your graph is doing without them.

---

<div class="post-metadata">

**Author:** ![JC.Moreno](https://avatars.discourse-cdn.com/v4/letter/j/6de8d8/32.png) [@JC.Moreno](https://forum.dynamobim.com/u/JC.Moreno)\
**Post date:** [July 1, 2019, 11:33am UTC](https://forum.dynamobim.com/t/overriding-colors-element-in-certain-views/37530/5 "2019-07-01T11:33:11Z")

</div>

Hi,  
I have also attached the graph.

What I am trying to acomplish is to reveal elements assosiated to level by means of colors.  
For that I have created several views by category of element. Columns, Walls, Beams, etc.  
For the moment, I have to open each view at the moment of running the script becaus the Element.OverrideColorInView node only works in the active view. What I need is the same node with the possibility of adding a view as well. So I can run the script once.

Thank you.[detector de niveles.dyn](https://forum.dynamobim.com/uploads/short-url/cly664VXx2lnzG6OWvb5ZvNJPKo.dyn) (169.5 KB)
