Ok once you make a viewport you need to zoom to a point inside Mspace, you can set the scale of the viewport also in this 2 step process.
(command "zoom" "C" (getpoint '\PIck center point ") 100)
(command "zoom" (strcat (rtos scale 2 2) "XP)
When you zoom C it sets the viewport centre point, using scaleXP ie 4XP resets the viewport scale but keeps the centre point.
If you have rectangs in Model space then yes can make layouts that match. You need to start with something like this. I have made rectangs that follow a pline. The software finds them and makes layouts. Another version allows user placement, both methods can be used then layouts made.
Happy to discuss how its done, are you metric or imperial ? There is some behind the scenes set up.