# Hide an element in all views

**URL:** <https://forum.dynamobim.com/t/hide-an-element-in-all-views/51979>\
**Category:** Revit\
**Created:** [June 17, 2020, 4:55pm UTC](https://forum.dynamobim.com/t/hide-an-element-in-all-views/51979 "2020-06-17T16:55:24Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![mcobb](https://avatars.discourse-cdn.com/v4/letter/m/8baadc/32.png) [@mcobb](https://forum.dynamobim.com/u/mcobb)\
**Post date:** [June 17, 2020, 4:55pm UTC](https://forum.dynamobim.com/t/hide-an-element-in-all-views/51979/1 "2020-06-17T16:55:24Z")

</div>

I’m trying to hide an element in all views but one. I would be happy to simply hide the element in all views for starters. I’ve identified the View.HideElements command and love the way it can select a view and hide something…but how do I expand this selection to include all the views it shows in its dropdown list? I feel like understanding this core concept is going to also open up my ability to understand the way lists function in Dynamo better.

Any help is greatly appreciated.

Mike

 ![Hide elements](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/0/b/0b36e1c2cf6e3e7f7665cc68d8ac5a95862fb4bd.jpeg)

---

<div class="post-metadata">

**Author:** ![AmolShah](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/amolshah/32/103244_2.png) [@AmolShah](https://forum.dynamobim.com/u/AmolShah)\
**Post date:** [June 17, 2020, 5:26pm UTC](https://forum.dynamobim.com/t/hide-an-element-in-all-views/51979/2 "2020-06-17T17:26:20Z")

</div>

You can use the RIE Package or go after the OOTB nodes.

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/e/b/ebd0bf0a09b6a74464703668407ad72d9af50183.jpeg)

---

<div class="post-metadata">

**Author:** ![mcobb](https://avatars.discourse-cdn.com/v4/letter/m/8baadc/32.png) [@mcobb](https://forum.dynamobim.com/u/mcobb)\
**Post date:** [June 18, 2020, 4:01pm UTC](https://forum.dynamobim.com/t/hide-an-element-in-all-views/51979/3 "2020-06-18T16:01:44Z")

</div>

Thank you. That helped a lot. Now I’m trying to filter the list with a single views that will continue to show the element. I’m experimenting with the “List.Contains” function but I can’t seem to get my selected view to return a value other than “null”. Any idea what I am doing wrong?

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/3/f/3fee2e7ce35a72ce0b91451b689e8b41bd440c82.png)

---

<div class="post-metadata">

**Author:** ![mcobb](https://avatars.discourse-cdn.com/v4/letter/m/8baadc/32.png) [@mcobb](https://forum.dynamobim.com/u/mcobb)\
**Post date:** [June 18, 2020, 4:19pm UTC](https://forum.dynamobim.com/t/hide-an-element-in-all-views/51979/4 "2020-06-18T16:19:12Z")

</div>

Looked like I just needed to refresh the document. I think it was stuck in a command of some kind.
