Grasshopper

algorithmic modeling for Rhino

Hi, I'm having a problem with the sublist component. The domains appear to be correct, but the values are not getting sorted correctly. I'm stumped.

Views: 273

Attachments:

Replies to This Discussion

image attached, as you can see, 200 and 400 are in the same list

Attachments:

can you internalise your crvs or upload your rhino file?

Ah I think I see the problem. The sublist component doesn't output the data whose values are within the input domains, they output the data whose indices are within those domains.

I'm sorry for the delay in responding! I've been out of town. Thanks for your reply, Brian. This makes sense, but I'm not sure how to achieve my goal. Basically I have this list of numbers, and I'd like to divide the list based on their values, (all the same values are in one sublist, or branch, etc.), do you know how I should do that? Thanks so much for your help.

I found a solution here, http://www.grasshopper3d.com/forum/topics/splitting-list-of-values

thanks for helping me understand the sublist component.

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

© 2021   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service