Hi Claudia - Robin has listed a few good points.
You write that you are importing a map but that could mean many things.
Sadly, it doesn’t look like Openstreetmap has a lot of building height information, else you could have just used that.
In this picture, only the building in blue has some height information; the ones in green are at random height.
The dataset is downloaded directly from Openstreetmap and turned into Rhino geometry by means of Tim’s Grasshopper definition that is found here:
Orsman Road, London.3dm (2.4 MB)
Going from something like that to the picture that you posted will require a lot of work.
-wim