Grasshopper

algorithmic modeling for Rhino

hy everyone,

i have an issue with lists.

i have a flattened list of angles from 0.5 to 46.5 degrees. (every two degrees) and i would like to have the amount of each angle.

ie:

if the list is

0.5

0.5

0.5

2.5

2.5

4.5

6.5

...

46.5

i'd like to have

amount of "0.5" : 3

amout of "2.5" : 2

amout of "4.5" : 1

i tried but i feel there is something much simpler to be done

thanks in advance grasshopper gods.

Views: 231

Attachments:

Replies to This Discussion

Hi Brice,

One way would be to use [Create Set] and [Member Index]

hi danny!

thanks for the fast answer!

it works!

you saved me a lot of time ;)

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service