If you're talking about just creating a 3d grid on a building, simply create a solid and apply the grid effect to it. Turn the solid 3d and move it into place. Adjust the grid settings to achieve the look you want. Add another layer for each wall of the building.
Is that what you're asking about?
- The Great Szalam
(The 'Great' stands for 'Not So Great, in fact, Extremely Humble')
No trees were harmed in the creation of this message, but several thousand electrons were mildly inconvenienced.