Define site

I have a set complex shaped site and I need to randomly put in rotating cubes facing 6 different directions (with some other logic involved too but i need to at least grasp the basics before that). I read some information on how to vary things, I think i got how to do the rotation but i can’t seem to figure out how to tell it to generate objects within a site boundary! I only found information on generating surfaces.

How about creating a list of potential base points within your site boundary and randomly selecting 6 of those?

This would be easy if Surface.PointAtParameter behaved correctly. Unfortunately, it doesn’t and you might need to do something like this to get the list of points.

File: PointsWithinBoundary.dyn

20160310-1

 

Oh i’ll try that! Will write back if this way doesen’t work for the task. Thank you