Split tree with a specific pattern

Hi everyone! I have a set of polylines organized in four branches inside one tree. What I am looking for, is of a way to split this tree with a pattern that can be changed later on, in order to always get in two separate lists but being allowed not to have the same amount of branches in each list (like, for example, having one branch in list A and three branches in list B). I was thinking of a cull pattern or split tree, but I am not sure how apply a pattern to split trees, since it is a boolean opperation what I am thinking of doing. Thank you!

divide branch with pattern.gh (8.0 KB)

Hi Ffeldsberg,

If you’re just trying to partition your list, then here’s a couple of ways:
divide branch with pattern.gh (20.0 KB)


Thank you so much!!