Filter Views by View Type

Hi How would I filter the below list to only show “StructuralPlanView” ?

Thanks in advanced

Here is one option for you to try.

2 Likes

Im adding to this discussion if i may :slight_smile:
View Template are luring away in ViewType, they report as Section or Elevation even though they are not.
Anyway to filter them directly in the Python node?

Thanks but trying to limit the number of packages i use… and learn python :slight_smile:

You could have a look inside the custom node and you might be able to extract the underlying code and modify it to fit your need :slight_smile:

Check this out, @Daniel_Hurtubise:

http://www.revitapidocs.com/2018.1/bd7d3469-dc89-93b7-1cb8-848fd4f38d65.htm

Brilliant! Works well!