Generative Design and Dynamo for Optimizing Multiple Structure Location


I’m very new to Dynamo and the generative design features provided by this program. While generating the script I noticed the solids are penetrating into each other which is unwanted (especially if the structure is a building) (Please see image below).

I was wondering if there are any methods to write within dynamo to prevent such penetrations in the design.

The file is also attached (Its messy and maybe not the wisest in process since I started a few days ago :sweat_smile:)

Generative Design.dyn (117.0 KB)


You’ll probably need to introduce a condition that ignores cases where the block intersect.
Something like in the attached file, maybe.
Generative Design1.dyn (87.2 KB)