Is it possible to create a page setup for each layout from the command line? Trying to write a lisp that will automate the setup of layout tabs.

Any suggestions?