Grasshopper

algorithmic modeling for Rhino

Puzzled over "List Item" component with tree as index input

This worked fine when I had a single list as "List" input, but now that I have two lists, the outcome is not what I expect :

I thought that the indexes from {0;0} and {0;1} would output items from the branch {0} of the list, and indexes from {1;0} and {1;1} would output items from the branch {1} of the list.

Is there an easy way to achieve this, or is it going to be path management hell ?

Views: 2927

Replies to This Discussion

By the way, why isn't there a way to simplify a tree by removing a definable number of main branches, which would equate to a "relative" version of "simplify" ?

I can understand that it could potentially eliminate complete branches containing lists in trees with exotic structures, but for trees with a regular structure, I feel that it would be handy.

I just sent you the model and the definition.

Any plans to write a memo about good practives in "path herding" as Luis Fraguada calls it ?

For example, the difference between the "absolute" and "relative" nature of operators had never stuck me as something so important.

After realizing this, I feel there should almost be a visual flag to distinguish them !

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service