AnsweredAssumed Answered

ArcGIS 10.4 ArcPy ExporttoPDF only exports parts of layers

Question asked by NeoGeo on May 26, 2016
Latest reply on Nov 28, 2016 by Randy_NRG

While attempting to migrate to ArcGIS 10.4 from 10.2, I am finding that the 10.4 version of ExportToPDF in ArcPy is only generating portions of layers.  I have attached a pdf to show that the points and boundaries started to render and just stopped a quarter of the way through.

 

I saw that in 10.3 there was a bug that caused similar errors but it was related to region settings and did not affect english versions, so I will add that I am using US english version of 10.4 so that bug should not apply.

 

I have also tested with a super basic script  (like below)and recreated the mxd in Desktop 10.4 and it still only renders a portion of the map.

import arcpy
print "Start Generating PDF Output..."
mxd = arcpy.mapping.MapDocument(r"F:\arcgisserver\arcgisresources\ExportPDF\Layouts\Landscape8x11.mxd")
arcpy.mapping.ExportToPDF(mxd, r"F:\data\temp\temp\Test_ArcPy_Mapping_ExportToPDFProject.pdf")
print "Finished generating output.  Check c:\\temp"
del mxd

Attachments

Outcomes