List.Contains cross product 1.x to 2.x

Hello all,

I have read through the following two posts.

It looks like there has been some documentation on Changes to List.Contains between Dynamo 1.x and 2.x. After reading through both post I have made no headway. I am trying to deal with a cross product and cannot seem to figure it out. Any help would be appreciated. I think I am just to close to the problem.

My Solution from Dynamo 1.x

Dynamo 2.x Change

A simple test with files if you want to try it out.

Dynamo 1.x

Dynamo 2.x

Test_1x.dyn (9.8 KB)
Test_2x.dyn (20.8 KB)


I found a way around this using List.SetIntersection in replacement of List.Contains. It solves my problem but it would be nice to be able to use List.Contains in the same manner as 1.x. If there is an intended reason for it not working this way I would love to hear it.

Anyway, hope you all have a good day.