I want to divide a list into sub-lists. The mass addition of each sublist has to be 90.
As you can see in the image below, I have 3 different items (30,45,90) in it. The sub-lists have to be 30,30,30 or 45,45 or 60,30.
Assuming one of those L’s in your grasshopper ribbon is Lunchbox you can use the Sort Duplicate Values component. Which is nice because it will put them in order as well, which the Create Set won’t do without additional components.