_Layout (New Layout) command - detail choice

When one runs the _Layout command, one gets this dialog:

If you want just one detail, the only viewport choice given for the layout is Top. What if you want a single-detail layout page based on Front or Right? Unless I am missing something here, currently the only way to do this is to first create the layout with one detail accepting the default Top view, then double click to activate the detail and change the view to the one you want.

Strictly, you do have the alternative of creating the the layout with Initial Detail Count = None and then using the _Detail command to add a detail area using the view of your choice. However you have to specify the area this occupies on the page, making it clunkier than the modifying approach.

I seldom use Layouts, so this is just a papercut for me, but I can see that someone who uses single view layouts a lot would like some TLC here.

"""
Adds a layout page with a single detail with hard-coded sizes and view.
Change parameters below to suit sizes desired. Script by Mitch Heynick 10.05.26
"""

import rhinoscriptsyntax as rs

def MakeSingleDetailLayoutPage():
    #parameters
    layout_name=None #will auto-number
    title=None
    page_x=297.0
    page_y=210.0
    mrg_x=10.0
    mrg_y=10.0
    v=1  #top view
    
    #projection (number): type of initial view projection for the detail
    #    1 = parallel top view
    #    2 = parallel bottom view
    #    3 = parallel left view
    #    4 = parallel right view
    #    5 = parallel front view
    #    6 = parallel back view
    #    7 = perspective view
    
    new_page=rs.AddLayout(layout_name,(page_x,page_y))
    if new_page:
        rs.AddDetail(new_page,(mrg_x,mrg_y),(page_x-mrg_x,page_y-mrg_y),title,v)

MakeSingleDetailLayoutPage()