laptop and a wrench

漏洞

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
漏洞 ID 编号 BUG-000165800
已提交March 8, 2024
上次修改时间October 7, 2024
适用范围ArcGIS Pro
找到的版本3.2.2
操作系统Windows OS
操作系统版本10.0 64 Bit
修正版本3.4
状态As Designed

附加信息

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```

重现步骤

漏洞 ID: BUG-000165800

软件:

  • ArcGIS Pro

当漏洞状态发生变化时获得通知

下载 Esri 支持应用程序

发现关于本主题的更多内容

获取来自 ArcGIS 专家的帮助

联系技术支持部门

下载 Esri 支持应用程序

转至下载选项