Numéro d’ID de bogue |
BUG-000173281 |
Envoi | December 26, 2024 |
Dernière modification | April 14, 2025 |
S’applique à | ArcGIS Pro |
Version trouvée | 3.4 |
Système d’exploitation | Windows |
Version du système d’exploitation | N/A |
Statut | Duplicate
Le problème est le doublon d’un problème existant. Pour plus d’informations, reportez-vous à la section Informations supplémentaires correspondant au problème. Les clients concernés par le doublon du problème sont automatiquement associés au problème ouvert.
|
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: