Find similar and different list points

Hi everybody.
I’m having a problem identifying the same and different list points. For example, I have 5 list points A, B, C, D, E as attachments, I want to find out which list points are similar and different. Can anyone help me find the solution?
Thank you
Compare List Point.gh (4.2 KB)

I’m not sure this is exactly what you want anyway check this…


Compare List Point_re.gh (13.9 KB)

1 Like

I am very happy to receive your help. My problem here is to specify that List point A is the same as List point C and different from the rest of the list points. rather than looking for similarities and differences

This will do the job, it’s a tree branch nightmare !
If you have three identical lists however they won’t come up grouped, but you’ll get for example A=B and B=C.

Compare List Point.gh (8.9 KB)

1 Like

Another idea that will end up with grouped branches and is much easier to manipulate !

Compare List Point 2.gh (11.1 KB)

1 Like

thank you so much!

I have a problem here. currently list point A and C are the same. but when I change the order of elements in list point C, the results get list point A and C are no longer the same. now is there a way to not depend on the position of the elements in the list point ?
list point

Ha ! I was sure this case was going to happen :smiley:

Well, I could reply that in that case lists are no longer identical, but if your wish is to consider them so anyway, the simplest way is to get back to the original problem by sorting the points by X/Y/Z.

1 Like

GREAT. THANKS YOU :star_struck:

is there a way to add tolerance to the Y variable of the list point? for example (2,3,0) and (2,3.1,0) still output the same 2 list points? Thanks you

It should already work that way, thanks to the default tolerance of 0.1 in the Cull Duplicates component.
You can insert a slider there to increase the tolerance if needed - it’s probably best to have the tolerance slightly higher than the difference of coordinates.

Also, you could Deconstruct your input points, Round Y, and Construct them back.