I think you should upload one def file so that others don’t have to start from scratch.Saving other people’s time will save your time at the same time.
you might already be aware that whatever numbers are written as path of any data tree branch, gh doesn’t really care about those, it will just pair branches 1:1
you can use Principal modifier (Right click on input) to tell the component you want the output paths to be based on the paths of a particular input
using Simplify is -generally speaking- not very good practice (I understand it can help us -humans- to better understand what is going on in data trees, but still…)
this video on the topic is super interesting and very well explained:
But I don’t want to chage the paths. I want to keep them as they are. What i want is to stream the data in two different paths.
If i have a path with 1 depth {0} the data should go in one stream and for larger depth {0;0} data should go in another stream.
ok, that is easy you can use Deconstruct Path component, which splits each path in its sequence of ints, then you can use List Length and check if the length of the List of ints is higer than 1 or not
not clear to me if you want to split a tree based on that, which means you might have a tree with paths of mixed lengths (there might be easier ways to accomplish this…)