Here is a script that calculates theatre seating layout. It allows for quick readjustments based on the perimeter, seat spacing, and rows. It is in 2d only, and it is very useful for testing different seating/perimeter configurations.

img1

Link to Rhino file.