Creating a new Layout with python

3398
4
03-30-2021 03:16 PM
HaileyG
New Contributor II

I am trying to write a python script that will allow me to create multiple templates based on page size/ setup. I am trying to figure out how to insert a new blank layout tab using python script. Does anyone know the syntax for this?

Any other help with python scripts for layout formatting would also be greatly appreciated.

Thanks! 

0 Kudos
4 Replies
TomBole
Esri Regular Contributor
0 Kudos
HaileyG
New Contributor II

Thank you! 

0 Kudos
pkaniouras
New Contributor III

Hi there!

 

Did you figure out how to create a new layout? All the scripts I read just open an existing one.

0 Kudos
Hailey_G
New Contributor II

No I was never able to figure it out. I ended up creating a master aptx, without a script, with all of the layouts I would need. Then when I open it, I choose the layouts I want and delete the others. 

0 Kudos