Grasshopper

algorithmic modeling for Rhino

Hello:

I have three list indexes. I want to identify values that are identical across the three indexes. And create a fourth list  consisting only of the values that exist across the three indexes. I have tried various combinations of dispatching and culling with no success. 

Attached is a screenshot showing the three list I would like apply a comparative conditional formatting to in the generation of a fourth list. 

I feel like this should be something simply, but for whatever reason I am just not getting to a solution through my own. 

Thanks! 

Views: 1192

Attachments:

Replies to This Discussion

Hi Dustin,

I tried to come up with a solution, merging the tree lists and checking whether the indices were similar with the relative difference. Hope this works!

Attachments:

"Set Intersection" might be what are you looking for.

Attachments:
Then yes a new aknowledge info. thank u

Thank you both for the really quick aid! Both solutions are useful. The set intersection route is exactly what I imagined.Many thanks. 

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service