Dividing Branches into Sub-branches

Divide Branch into sub branch.gh (24.0 KB)

Can I divide branches into sub branches?

What’s the logic of the split? Some lists have 3 items, some have 4, 5…?

Tell us the logic so we can advise. Usually you end up using Member Index or Partition List to do this. Or filter content if you are using Model Objects

You can for instance use Partition if you want a known number of items per branch.

Working from the assumption that the indices are important, i.e. could be unordered, and that the index structure is only given for one branch, but is to be applied to many, this also works:


Dividing Branches into Sub-branches VR 01.gh (16.4 KB)

spliting by providing length of the splits to each branch of the tree