Buildings on sector shaped land, python


#1

Hello, I am trying to write python code for modeling a city in maya. I have programmed the land which is circle shaped with raised sectors for putting the buildings on (shown on image link below).
https://i.stack.imgur.com/mWQtk.jpg

I want to model the buildings on only on those 4 raised sectors. I have modeled several different buildings for it, which would be then randomly put on those sectors. However, I am not quite certain how to achieve this? I thought about bounding those sector areas but didn’t find any suitable command in python to do so. Any suggestions how I should approch the problem?

PS! The code needs to be user interactive, so I also need to code in options which user could select themselves - street width, gap between buildings, how many buildings per block.

(Here is my code)
https://drive.google.com/open?id=0B-LyBuVpC6eWdHE2bTIzOFAydzQ