laptop and a wrench

Bug

The ArcPy ExportToPDF method with Simulate Overprint enabled does not produce the same results as the interactive ArcGIS Pro 'Export to PDF' when it also has Simulate Overprint enabled.

ArcGIS Pro
Bug-ID-Nummer BUG-000165800
EingereichtMarch 8, 2024
Zuletzt geändertOctober 7, 2024
Gilt fürArcGIS Pro
Gefunden in Version3.2.2
BetriebssystemWindows OS
Betriebssystemversion10.0 64 Bit
Behoben in Version3.4
StatusAs Designed

Zusätzliche Informationen

In order for the export to work as expected, arcpy.mp export must simulate what the UI does and that is: 1) Simulate Overprint only works with the CMYK color model 2) When Simulate Overprint is set to True (or checked in the UI), Output as image must also be set to True. 3) Better messaging are going to be added in a near term release. Codes that could help: ...p = arcpy.mp.ArcGISProject('current')relpath = p.homeFolderlyt = p.listLayouts()[0]```###Code to change the color model if neededlyt_cim = lyt.getDefinition('V3')lyt_cim.colorModel = 'CMYK'lyt.setDefinition(lyt_cim)###Exportlyt.exportToPDF(r'C:\Temp\Out.pdf',132, "BEST", True, "ADAPTIVE", True, "NONE", True, output_as_image = True, simulate_overprint=True) ###BOTH SET TO TRUE```

Schritte zur Reproduzierung

Bug-ID: BUG-000165800

Software:

  • ArcGIS Pro

Benachrichtigung erhalten, wenn sich der Status eines Bugs ändert

Esri Support App herunterladen

Weitere Informationen zu diesem Thema erkunden

Unterstützung durch ArcGIS-Experten anfordern

An den technischen Support wenden

Esri Support App herunterladen

Zu Download-Optionen wechseln