List.Contains not showing correct output

Hello,

I know there are a lot of other topics relating this issue, but none of the solutions works for me.
I want to filter out all the rebars that are associated with a Structural Area reinforcement.
With a Python script i got the GetRebarInSystemIds() . Then set a parameter with a specific text.
My list should contain 394 items containing the first list. When i manually check the lists i see the lists are correct, but the output at the List.Contains node is not correct.

Any insights would be nice.

@gerbenKAG9F You can either swap the inputs of List.Contains node or use the List.IndexOf node as shown below to get the desired result.

1 Like

Option1 worked.
I was sure I tried that…

1 Like