Hi, I’m trying to avoid using Pathmapper so that I can keep things more parametric. Is there a different way of achieving this? Ie tell the tree to reduce the branch indexes by one and then collapse any gaps?
Thanks.
Hi, I’m trying to avoid using Pathmapper so that I can keep things more parametric. Is there a different way of achieving this? Ie tell the tree to reduce the branch indexes by one and then collapse any gaps?
Thanks.
something like this might work
I guess in Path Mapper you could write {A;B} → {A-1}
you need to match the path pattern you have in the input, like A;B;C here:
Thanks. I guess as it’s such a specific calculation that it has to hard-coded to some degree.
Surprised there’s no ‘condense tree’ type of component though - just renumber all the branches to remove any gaps or oddities.
oh wait, if you don’t have to manipulate the values of the Paths, there is Trim Tree that just chops D rightmost branches:
Like Shift Paths and Tree Branch? There is but you didn’t post a file, eh?
Thanks, but Trim looks like it messes with the content of the branches. I want to keep everything consistent, just change the branch indexes. Shift Paths might do the job.