Help Renumbering Path to a specific path number

I am having trouble adding a list of items into an existing data set. The items want to be added to a new branch which will be a new last branch in the data set. The only way I can think to do this and keep it parametric is to take the path count, add one, construct it into a path and then add the items to this path and merging the data together.

The best solution I have right now is to use path mapper and manually change the number I need but this makes it none parametric which is not what I’m after.

If anyone has any suggestions on this I would be eternally graefull!

Renumbering paths.gh (43.7 KB)

You can use Heteroptera’s Empty Tree Component

Entwine is like a Merge that works on branches

Just make sure to turn off “Flatten Inputs” - then you can renumber your paths as you would normally

Renumbering paths a.gh (48.8 KB)

This is great, thank you so much!

this also worked, appreciate it