Grasshopper

algorithmic modeling for Rhino

advice about serial numbers, sorting objects into families

I am working on a project where a facade is broken down into panels with a number of variables. I would like to sort the collection into like groupings - right now its a random jumble - and I was wondering if there are any tips to doing this. The dumbest way I see is to give each a sort of serial number in the form of a string and sifting through the pile looking for matches of each particular condition. But there must be a better way. Does anyone have any examples?

Is there a component for the method string.equals in something like Java? I am looking for equality in words not numbers...

Views: 638

Replies to This Discussion

I think this is what you mean by string equality. This can also be used to filter by geometry type, because you can convert a list of geometry to strings and then test for equality to a specific string such as "Planar Curve"

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service