I am trying to filter and select a list of elements in Revit through Dynamo. I am filtering this based on the ‘Mark’ parameter, by providing a list of parameter values. I am able to make it work with the scrip below. However, my original project has close to 20,000 elements. When I try to use the same script for that, it takes very long to run. It took 25 mins to select 10,000 elements. Is there a way I can restructure the lists to make it go faster. Any input would be much appreciated. Thank you.