How topologically connect street with buildings?????
I need that when clicking on a building the street is also selected, indicating that they are connected, to simulate a natural disaster project, in which, if something happens on a certain street, it will affect such buildings
Can someone help me?
What you're describing sounds more like a relationship class.
If your buildings had a "street ID" field that corresponded to an ID field in your streets layer, you could link them.
Sounds to me like you'll want to set up a relationship class between the buildings and the streets. For that to work you need a foreign key in your buildings layer that is the ID of the street it is related to.
CityEngine does not innately support this type of relationship, but there are ways to use the Jython API so that such relationships can be acted on.