How to identify what are different lists in a data tree

Hi guys,

Hope you are doing well. I am facing a problem with searching for different lists in a data tree. I have a data tree with 8760 lists inside. There are some repetitive lists inside and I would like to identify what are the different lists. As shown in the attached screenshot, some lists content 1 item and others have 2. I have tried a lot but I still cannot figure it out. The grasshopper file is also attached.
Question.gh (56.2 KB)

Thank you very much.

Best regards,

Clarence

Like this? (Assuming I understand what you’re looking for…)
Update: I realized that I needed to set the Tree Branch component at the end to “Renumber”.

Question-b (1).gh (63.3 KB)

1 Like

Hi @akilli ,

Thank you very much for your reply. I am sorry if I didn’t explain it clearly. I would like to find the variety in the datatree. For example, if there is a data tree content [1 ; 1,2,3 ; 1 ; 1,2], I would like to have the result like [1 ; 1,2,3 ; 1,2] since they are different branches in the datatree.

I think the solution you provided is what I was looking for and I would like to ask what is the component “renumber” and what should I search in Food4Rhino to download it.

Thank you very much.

Best regards,

Clarence

I found the plug-in. Thank you very much