I’m having some issues extracting specific branches from a data tree and keeping them in the correct order. I’m sure this is a simple solution, but I can’t find the anything that is as variable elsewhere in the forum.
I want want to be able to extract branches from A in the order shown in C. It should be noted that the number path index and number if items specified at c will change (ie. could contain and number of items between 2 and 20, with random path values between {0} and {200}). Because of this variation I can’t use Path Mapper
The tree branch or split tree components extract the correct paths (and their contents) but they reorder them according the numerical value of the path index. I need them to stay in the same order as B so I can use the contained geometry further down the definition
Please note that I’m in Australia, so my replies may be a little delayed.
GH file attached,
thanks for your help in advance.
It’s a good point.
This solution will work, however, the original branch index is used to cull data further in the overall definition. I think I will be able to make a work around through.
The other reason is that I like to be able to keep track of exactly where things are going in my definitions as this one is a pretty big one involving multiple evolutionary solvers.