Split tree with multiple repeating operators, then Replace values

double splitting.gh (12.5 KB)

Hi community!

I have been struggling for a while to make this work. I would like to repalce certain values by using the split tree syntax. The problem I have is that I want to specify the same tree branch {X;…} twice or more and change the initial values. I am drawing a blank here how to change the structure and be able to change half of the same tree branch with one value and half with another. Not sure if it is clear what I mean, that’s why I attach this screenshot, which hopefully makes it a bit clearer.

I would appreciate if someone has a good tip on how to get it working.



Using Path Compare seems to be an easier option here.
It does not check there aren’t overlaps in the modifiers though, so be careful.

double splitting.gh (14.6 KB)


Thanks for the solution! It is more elegant way than what I was going for with Split Tree.