laptop and a wrench

Bug

Error exporting layout to PDF using the arcpy.mp listLayouts function.

Last Published: April 17, 2023 ArcGIS Pro
Bug ID Number BUG-000115685
SubmittedJuly 26, 2018
Last ModifiedJune 5, 2024
Applies toArcGIS Pro
Version found2.2
Operating SystemN/A
Operating System VersionN/A
StatusNon-Reproducible

Additional Information

This issue is not reproducible.

Workaround

Execute exportToPDF into a loop:

aprx = arcpy.mp.ArcGISProject(r"C:\folder_name\test_data.aprx")

lyt = aprx.listLayouts()[0] 

for l in lyt: 

    l.exportToPDF(r"C:\folder_name\output.pdf") 

Steps to Reproduce

Bug ID: BUG-000115685

Software:

  • ArcGIS Pro

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options