Quantcast
Channel: Grasshopper - McNeel Forum
Viewing all articles
Browse latest Browse all 39494

How to reverse tree indexes

$
0
0

@starzred wrote:

Dear All

I have a simple data tree structure (pls see attached ) with 3 paths each with 11 indexes.

All I need to do is to reverse the order of each tree indexes from from to back front (not the order of the paths)

eg: Branch 1: Index 0 becomes index 10, Index 1 becomes Index 9 etc for all of the branches.

I am sure its a simple process but it just cant cross my dump mind in how to go about it!:

Can anyone please point me into the right direction please? Many thanks in advance!

Yutaka

reverse tree indexes.gh (5.9 KB)

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 39494

Trending Articles