Grasshopper

algorithmic modeling for Rhino

Is  it  possible  to  separate  a  list  by  similar  values?
For  example  if  a  list  contains  n  number  of  values,  can  it  be  sorted  to  count  the  different  values  and  index  the  numbers? 

Thanks

Views: 249

Replies to This Discussion

Hi Monique,

there might be a way using some sort of clever sorting magic trick, but if these are lists of numbers, it would be quite easy to write a little VB script for it as well.

Can you give a very specific example of the input you have and the output you desire?

--
David Rutten
david@mcneel.com
Seattle, WA
Here is what I am working on:

I outlined the question in a couple of panel components accompanying the file.

Thanks.
Attachments:

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service