How to filter using bool mask (Delete all sheets and views except one and the view on it)

Hi Mates,

I dont know whats happening here.

I have to subtract the ‘Flatten’ list from the ‘Document.Views’ list.

The purpose is, I have to delete all the views and sheets except these 6.

Also let me know if there is anything else to get it done.

Thanks in advance…!

I am using Revit 2019 and dynamo version 1.3.4

Hi @shahed.attar,

It will be easier with the List.SetDifference node :
SetDifference

2 Likes