This is an example of a MEL script written for Maya to create procedural downtown areas.
You can find the code and a video explaining how to use here: http://portfolio.anthony-scavarelli.com/2012/01/27/autodesk-maya-city-builder/
Please feel free to use for any projects you wish. A credit and notification is always nice :)