Grasshopper

algorithmic modeling for Rhino

How to create sub-lists of data from a Base list using their values as the indicator

Hi All,

I have another question regarding data sorting/filtering. I have a list of data (real numbers) with varying values which are not sorted in any specific way (they are sorted by the order of data collection). I want to filter these into two (or hopefully more) target lists which are organized by their "acceptable domains". I also need to somehow know which item went to which sub-list so I need to keep track of the indices as well.

Any suggestions kind GH people?

Thanks,

Yavar

Views: 2356

Replies to This Discussion

The "Domain Includes" component in conjunction with a cull will probably do what you want. You can create a list of indices and cull it by the same values to get the index pattern.

Thanks Andrew. This is the second time you've saved me.

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