New answers tagged

1

Also have this problem. Fiddling around with the pdf export options has no effect, problem also shows up with export to jpeg, gif & bmp. The objects that get filled with thin white lines are picture marker symbols.


3

I want to come at this from a different direction and show you how you can test the logic in each of the answers by using purely Python rather than ArcPy. I may or may not have copied/understood each of their logics but I don't think that matters because what I am trying to show is how you can test them, and in particular experiment with yours. mxdList = ...


5

Your problem is that you use pass which will do nothing, but jumps to the next code row. Do it like this: for mxd in arcpy.ListFiles("*.mxd"): mapdoc = arcpy.mapping.MapDocument(r"D:\desktop\Project\\" + mxd) if 'project2' not in mxd and 'project3' not in mxd: arcpy.mapping.ExportToPDF(mapdoc, ...


0

Try putting your export into an else for mxd in arcpy.ListFiles("*.mxd"): mapdoc = arcpy.mapping.MapDocument(r"D:\desktop\Project\\" + mxd) if 'project2' in mxd or 'project3' in mxd: pass else: arcpy.mapping.ExportToPDF(mapdoc, r"D:\desktop\Project\out\\"+os.path.basename(mapdoc.filePath).replace ('.mxd','') +".pdf") ...


2

There are several options available that you can control the settings to create/export your PDF file that impacts the file size. Resolution - Higher values usually produce sharper images. However, this can also substantially increase the file size and processing time. Output Image Quality - For maps with raster data or transparent vector layers, ...


6

It will possibly be a bit of testing to find what works best for you. Try adjusting your DPI down until it produces a better file size but still readable, or adjust the Raster quality down slightly. Then combine these two acceptable settings and determine if the file size is small enough yet readable. My settings are set to 200dpi and image quality to ...



Top 50 recent answers are included