Renumber paths without using path mapper

Hi
I need to renumber the branches of a data tree dynamically(shift the paths by a constant number). I have been using the path mapper component which works (see image).
I would like to do the same, but taking an input of a previous component.
When using the path mapper, I have to edit it manually every time which isn’t efficient.

(The input I want to use is 6 in this case)

Deconstruct path, then operate on the index. You could also do replace paths if need be.

1 Like

With human (http://www.food4rhino.com/app/human you can try the assign paths component