Select to view content in your preferred language

PDF export does not match map layout

1352
2
Jump to solution
08-03-2023 11:25 AM
SarahRijneke
Frequent Contributor

Does anyone know why my map export does not look like my map layout in Pro? I would like the look & feel of my exported PDFs to match what I can see in the layout view. I use masking in my map to prevent some layers from drawing outside of my study area boundaries, weights to ensure that my labels draw as  needed, and circle map frames for my inset maps. See screen captures below.

layout view in ArcGIS Pro:

SarahRijneke_2-1691085114109.png

PDF export using notebook script:

import arcpy,os
aprx = arcpy.mp.ArcGISProject("CURRENT")
for lyt in aprx.listLayouts():
  lyt.exportToPDF(os.path.join(r"\\xxxxxxxxxx", f"{lyt.name}"))

SarahRijneke_3-1691085137921.png

PDF export from the ribbon (share -> export layout):

SarahRijneke_4-1691087064079.png

 

 

 

 

1 Solution

Accepted Solutions
SarahRijneke
Frequent Contributor

Not sure why this worked but I edited my mask layer and was able to remove some redundant layers because of that. Now exporting the maps using the notebook script produces the results that I was looking for.

View solution in original post

2 Replies
Leo_Liu_WA
Emerging Contributor

Hi Sarah,

That's an interesting issue, can you share a project package so we can play?
I got labelling missing issue before, but don't reminder how did I fix it.

Cheers,

Leo.

0 Kudos
SarahRijneke
Frequent Contributor

Not sure why this worked but I edited my mask layer and was able to remove some redundant layers because of that. Now exporting the maps using the notebook script produces the results that I was looking for.