Selecting Revit elements of a list of multiple categories

When I select 1 category my script to select elements based on a type parameter and value works.
When I select multiple categories my scripts doesn’t give me the expected result. Why? It still a list with elements…

I’ve made a video of the problem: http://autode.sk/2oMw7oR
And here is my script: Select element create selection set user interface.dyn (21.0 KB)

I’m using Revit 2017.2 & Dynamo 1.3.0

1 Like

Hi @joris.vanbossche

Change lacing to longest or play with “Lists”.

Now I feel stupid! Such an easy solution! :slight_smile:
Thanks @Kulkul for your solution!