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 (9.0 KB)

Use .AddRange method instead of .Add


If you are after circular shift see attached. (7.0 KB)

1 Like