Grasshopper

algorithmic modeling for Rhino

If I have two data we are interested in the results as shown in the figure above compares the two data .
How can I get the results ?
Sorry, I could not speak English well .
Thanks for reading

Views: 271

Attachments:

Replies to This Discussion

Are you likely to have more than one answer for each letter? In your example there are 2 letter d 014,d and 018,d. Do you want both, the first or the last? 

Expression component can do a lot of string based commands, here it picks the last letter.

Member index can compare this shortened list with your initial list, finding the index for each occurrence. Then use that index to pick the list items from your full list.

It depends on if you've a logic for what to do if more than one list item has the same suffix... This will pick them all, then pick the highest number with each letter.

Attachments:

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service