How to Filter two different lists of different sizes in Dynamo

Hello,

So I am trying to filter some lists of points within Dynamo and for some reason I haven’t found a good solution with the methods I have tried. So what I would like to happen is to use the list of 4 points at the top to compare with the points of the list of 8 points on the bottom. I want to remove the points in the list of 8 that also show up in the list of 4.

I have tried to use the boolean mask filter and I have never been able to get an output that matched up with the list of 8. Any help on this is greatly appreciated

Thank you in advance.

Check this out :slight_smile:

1 Like

List.SetDifference does exactly this. The problem you’re going to run into is that some objects aren’t directly comparable using certain methods and Points in particular can have issues with rounding.

Converting your Points to strings for comparison will help, but you may still need to use FilterByBoolMask with list levels.

2 Likes

hello


cordially
christian.stan