Grasshopper

algorithmic modeling for Rhino

Random Objects from Selection according to Percentage

Hey all i am still pretty new with Grasshopper, but have messed with it in the past. Usually i can find a solution to a question in the discussion Section, but i can not for this one, and have been searching for a very long while. I am trying to select a specific number of objects (33% of the total) from a given group, and then having them selected in the Rhino File. I am all out of ideas, and found out the script i concocted only works for points, so no point in my posting it real. is there anyone that can help me with this please? Thank you

Views: 4576

Replies to This Discussion

You can do something like this with random reduce. 

Thank you so much Michael! been working on this for several months off and on, and thank you. I combined this with a script i found http://www.grasshopper3d.com/forum/topics/select-geometry-in-rhino-... and http://www.grasshopper3d.com/forum/topics/random-select, and was able to get it to work. works absolutely perfectly.

Attachments:

Great, and don't forget by changing the seed value of the random reduce you can change which 33 percent of objects you select. If you did not know already. 

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