I am a beginner using City Engine 2022.0. I am trying to write a rule that would create a mass in blocks between existing buildings. I am applying my rule for a block, created inside of the road network (no subdivision, shape creation enabled). Existing buildings are imported from Arcgis Pro as shapes (they are extruded by attribute) and left on different layer. I uploaded a screenshot where white buildings are existing ones, extruded from shapes, and red ones are newly generated.
The problem is that I cannot find how to make new (red) shapes avoid existing shapes (white). Is there some kind of a rule that would allow me to do it? Or maybe it is possible to subdivide the block into smaller shapes and exclude ones that are overlapped by shapes? Thought about using occlusion queries (inside, overlaps, touches) for that, but failed to make it work. Is it even possible to do something like that?