Grasshopper

algorithmic modeling for Rhino

Hey all!

I wonder if someone can help me to solve a problem: i have a list with tree numbers , for examle 12 12 16. How can i remove both that are the same, in this case both 12?

i cant sort the list because this lists are always different and sometimes equal numbers are the biggest and sometimes the smallest. 

Thanks in advance!

Views: 592

Replies to This Discussion

If you want remove duplicate numbers, use [Create set] component.

I usually use [sort] and after that the [delete consecutive], which will leave just the unique numbers. But I guess Daniel's is the more correct way. As usual there are many ways to do the same thing in GH.

Thank you both so much!! I will try.

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