Count identical breps in a list

Hello everyone,

I hope that the topics hasn’t been already discussed but here is my question. I have a list of breps and I’m trying to count the number of identical breps. My idea is to decompose each breps and compare the length of each edges. Therefore I use the component “CreateSet” and “MemberIndex” which works great when I compare the volume of breps (but not precise enough). However I don’t get the expected result as shown on the example below.


Count identical breps example.gh (11.2 KB)

There may be a better way to do it but my knowledge of Grasshopper prevents me from seeing further.

Anybody got any ideas?

Thank you !

Struggling to understand your expected results.

Also the Member Index count is giving you exactly what it’s meant to: There’s 1 x ZERO value, 1 x ONE value, 1 x TWO value etc.

don’t know if you’ve seen these other posts but they might offer you something…

sorry if you’ve seen them already.

1 Like

Thank you for your answer and sorry if I’m not being clear.

On the input there is 2 identical list [0;1;2] and 1 different list [3;4;5]. I wish that the results would show me that there are 2 identical lists and 1 different list (left pannel of the expected results) and that these lists are respectively the [0;1;2] and the [3;4;5] (right pannel of the expected results).