I have simple list in grasshopper - it defines two types of element types => N (stands for normal) and Linear(stands for linear Tapered). Some linear elements are bunched together in the list (they are in a group).
I want to extract the the indices of linear elements and place it into a tree, where each brach is the list of linear elements grouped together.
Is it possible to do with grasshopper components? or perhaps a simple VBA / python script will do the trick? Attaching my grasshopper script. Can someone please help.
gh script.gh (3.7 KB)