Grasshopper

algorithmic modeling for Rhino

Hello everybody,

I will be grateful if someone can tell me how can I get the more numerous item  in a each branch.

Views: 274

Replies to This Discussion

What do you want to happen if two or more values occur the same number of times in a given branch?

Attachments:

This one handles multiple same count occurrences.

Attachments:

Thanks again Crhis! I had already given up the fight.
Your solution is very clever.
 In my case, those numbers are index for a group of crossing lines. The occurrences are intersection events. With your solution now I can select the most intersected line in each branch. In a case of same count occurrences, i will select the longest line. Fortunately for my, that is not too complicated. Thanks man!

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