Numéro d’ID de bogue |
BUG-000165800 |
Envoi | March 8, 2024 |
Dernière modification | October 7, 2024 |
S’applique à | ArcGIS Pro |
Version trouvée | 3.2.2 |
Système d’exploitation | Windows OS |
Version du système d’exploitation | 10.0 64 Bit |
Version de correction | 3.4 |
Statut | As Designed
Après examen par l’équipe de développement, il a été déterminé que ce comportement est prévu. Pour plus d’informations, reportez-vous à la section Informations supplémentaires.
|
Informations supplémentaires
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```
Étapes pour reproduire
ID de bogue: BUG-000165800
Logiciel: