Selecting view filters with specific name from list and delete them in Revit


#1

Hi I am having a small problem. My goal is to select filters from project [every filter that in the name has on the end value : (1), (2), (3)]. In the second step I would like to delete those filters. I could manage the selection part by List.FilterByBoolMask but now I don’t now how to select sorted elements and delete them in Revit. Please help me .


#2


#3

Hot to select those items in Revit and delete them ??


#4

Hi,

After the watch node where you have a filtered list, place a delete node or an eraser node.
Make sure youre graph is not on automatic when using delete nodes.

Marcel


#5

Hi

Thank you for replay. The problem with deleting those things is that they appear as string but not as an object with ID. But thank you anyway for your idea.


#6


#7

Any other ideas ??


#8

Hi,

Try the Element.Id node in between the watchnode and the delete node.
Or take a look overhere Id to Elements, what happened to the node

Marcel


#9

Thank you Marcel

I ve realized that I had something wrong with connecting the nodes.