Hide an element in all views

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.


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

1 Like

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?

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

1 Like