algorithmic modeling for Rhino
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.
Welcome to
Grasshopper
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
© 2024 Created by Scott Davidson. Powered by