Replace Branches according to pattern

I do have a tree pattern of true-branches and null-branches, I want to replace the branches, where the content is true with the contents of another list at the same path, how can I do this?

THERE IS A LITTLE TYPO IN THE SCRIBBLE, IT’S:

{0;4}
____True
____False

post a file, with internalized geometry.

you want to replace the actual “true” or what is generating the true value?

This could be a way…

Replace Branchdata_re.gh (10.8 KB)

1 Like

Nice solution! Couldn’t wrap my head around this problem. So simple in the end.