I would like to know how to replace a “branch” within a list. So far I can replace individual indices but I cannot replace specific sublists in their entirety with another list. I’m not sure if this is the correct nomenclature, but any help would be greatly appreciated.
Hi @Pschelechow_MPS !
Maybe this script will help you, the idea is to join the two list an then reorder it using the indexes
2 Likes
Thank you so much! This is exactly what I was searching for. I ended up with something similar using the sort by key function but wasn’t sure if that was the best solution.

