first a review of the solution i know of... just for fun : - )
1.
there is a script by ugajin that sets one guide per baseline (if i read it correctly):
https://github.com/aoloe/scribus-script-repository/blob/master/typographic-grid/tmp/setBaselineGuides.py2.
there is an older script of mine asking for the number of columns and the text size and calculates the number of rows and the line height::
https://github.com/aoloe/scribus-script-repository/tree/master/typographic-gridi have not touched it for some times now, and i don't know if it really works. but, at the end, you will see some notes that hint to the fact that it's not possible yet to create row and column guides from the scripter.
3.
i have a newer script i wrote more recently, and which runs outside of scribus
- it does not use (yet) the scribus scripter. plain python.
- it needs to know
- the size inside of the margins
- the number of rows
- the baseline height you'd like to have
- the result is two values for for the baseline height: one bigger and one smaller than the one given by the user.
- the goal is to extend the scripter to allow the script to run without asking (almost) any question to the user.
- i'll paste the script in a further post in here, since it's not published yet.
4.
now, i'll try to understand the script you've submitted : - )
- it has a rather complex tcl/tk UI
- it can remove the current guides
- it asks for the margins
- it asks for the number of rows and columns
- it asks for the h and v gutter
- it asks for a desired line height and cell ratio
- it suggests to modify by a calculated value the top/bottom or inner/outer margins if it cannot fit the lines in the rows.
- it everything fits, it creates multiple single guides
in a follow up i'll have a look at your line 100... but the anser to 2/ is "probably no"...