laptop and a wrench

Bogue

Exporting a layout to PDF results in a blank map with only text boxes and layout elements appearing in the exported file.

ArcGIS Pro
Numéro d’ID de bogue BUG-000173281
EnvoiDecember 26, 2024
Dernière modificationApril 14, 2025
S’applique àArcGIS Pro
Version trouvée3.4
Système d’exploitationWindows
Version du système d’exploitationN/A
StatutDuplicate

Informations supplémentaires

Duplicate of BUG-000173232.

Solution de contournement

  • Save the layout as a layout file, then import the saved layout file into a new project or a different existing project.
  • Export using the arcpy.mp functions, which generates a successful export; example code: "##Export to PDF import time aprx = arcpy.mp.ArcGISProject("CURRENT") aprx.listLayouts() for lyt in aprx.listLayouts(): #Parameters: output name, resolution, image quality, compress vector graphics, image compression, embed fonts, layer attributes, georeference, jpeg compression, clip to elements, output as image, embed color profile #Image quality: "BEST", "BETTER", "NORMAL", "FASTER", "FASTEST" #Image compression: "ADAPTIVE", "DEFLATE", "JPEG", "LZW", "NONE", "RLE" #Layer attributes: "LAYERS_ONLY", "LAYERS_AND_ATTRIBUTES", "NONE" start = time.time() lyt.exportToPDF(f"C:\Temp\{lyt.name}.pdf", 150, "BEST", True, "ADAPTIVE", True, "LAYERS_ONLY", True, 80, False, False, False) end = time.time() print(f"{lyt.name} exported in {end - start} seconds") print("Done")".

Étapes pour reproduire

ID de bogue: BUG-000173281

Logiciel:

  • ArcGIS Pro

Recevoir une notification lorsque le statut d’un bogue change

Télécharger l’application Esri Support

En savoir plus sur ce sujet

Obtenir de l’aide auprès des experts ArcGIS

Contacter le support technique

Télécharger l’application Esri Support

Accéder aux options de téléchargement