Grasshopper

algorithmic modeling for Rhino

I have several polygons in rhino, i have tagged it. I have a list in excel, in the first column are the labels of polygons and the second has numeric values. The list is sorted in excel but not in grasshopper. as in excel i want to find each element of the first column and i return the value of tehe second column.

Thanks or your attention

Views: 1305

Replies to This Discussion

I don't know if I understood you well but here is my take. 

First of all, if the first list has all integers consecutive and the relation between the two list is bijective (one to one) you could use simply use the [Item Index] component on the second list. 

If the first list doesn't consist of consecutive integers, you would have to use the [Item Index] component on the first list and then the [List item] component on the second list. 

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service