Couldn’t you just create a layout and set it to the section that you just created?
If you create it programmatically, I don’t think that Rhino will auto-switch to layout view.