Grasshopper

algorithmic modeling for Rhino

Hellow everyone

I have a list of 240 values and I want to retrieve the elements based on their index number in multiples of 20. (That is 0,20,40.60... and so on and so forth). My guess is using the P'n'c' component but I dont know what the pattern would be. Is there a better way to do so? or what would be the pattern?

Cheers!!

Gmoejm.

Views: 7650

Replies to This Discussion

Something like this?

Do note that a list starts with number 0 so item number 20 in the list will be actually be the 21st item of the list and item 240 will be the same item as number 0 (because the list restarts again).

Attachments:

Hi Siemen, thanks for the interest...

I need them all at once, in one list that contains 0, 20, 40, 60, 80... etc

Any other idea?

Thanks!

Well yeah, just remove the list item component...

With the series component it results with more elements... I need one list with just 13 (240/20 + the 0) no slider is needed

That's what you get when you do what I recommended?

Ok I got it!! Damm it was so simple... Thanks for your patience Siemen, I really appreciate it (Y)

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