Reorder the branch items in tree using C# Grasshopper component

Hi , I’m trying to change order of branches in a tree data using C# in grasshopper

But what I’m getting is not the actual data

C# DataTree Branch order.gh (9.0 KB)

Use .AddRange method instead of .Add

2 Likes

If you are after circular shift see attached.

DataTree_PathsCircularShift_V1A.gh (7.0 KB)

1 Like