Revit View Purge with fiter


I am trying to purge views out of my project but also filter out the views that I want to keep (please see below) using a filterbybooleenmask but for some reason it doesn’t seem to work.

The error message is telling me:

Warning: Elements.Delete expects argument type(s) (Element), but was called with (string)

Any help will be much appreciated.


Connect the output of All Elements of Category Node to the list Input of List.FilterbyBoolMask. The elements.delete Node needs the Revit Element as Input and not the String from Object.

Thanks Klotz, ! Problem resolved.

1 Like