Enable filter in visibility window

Is it possible to enable/disable filter with Dynamo? Does somebody know node for it?

image

here it is…

View Filter hide ,Unhide.dyn (8.3 KB)

1 Like

Thank you.

It is for visibility. I need for enable/disable.
It will help sometimes but not always.

Hi @Konrad_X-PLAN maybe try modify the python inside “HOT.View Set Filter Visibility” node like this:

Cheers

https://www.revitapidocs.com/2022/b1e1e063-d90d-7e2a-57e6-de7947dd0a9a.htm

1 Like

This works well for one view and one filter. Can this be modified to work with an input of a list of views, a list of filters (both lists the same length) and a single boolean?

Hi @dluter in first option you can create a custom node inspired by “HOT.View Set Filter Visibility” with the python modified above and use the level list (@L1/@L2/@L2). The second option, it could be created a new python modified to work with lists as input.
Cheers

1 Like

how can I specify only certain filters to enable? This does all filters and I only want to do a select few.