I would like to suggest adding the capability to export all layouts in an ArcGIS Pro project to an independent folder via scripting. This feature would greatly enhance workflow efficiency by allowing users to automate the process of saving layouts as .pagx files. Currently, this process must be done manually, which can be time-consuming for projects with multiple layouts. Automating this task would streamline project management and improve productivity.
@SamuelRomero2, I'm not sure if I'm understanding this correctly because this can be scripted using arcpy.mp. Please let us know if the following snippet isn't what you are looking for.
import os
customPath = r'C:\Temp'p = arcpy.mp.ArcGISProject('current')
for lyt in p.listLayouts():
lyt.exportToPAGX(os.path.join(customPath, lyt.name))
Jeff - Layout and arcpy.mp teams
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.