I wrote my first script to automate the export of 13 mxds to pdfs and then merge them into a mapbook. This all works fine.
The problem arises with the 5 pdfs that have a linked word document in them. It appears as a blank space.
I've read many different posts on this and maybe it can't be accomplished. Are there any good links or does anyone have advice on how to get this to work?
Here is the code snippet for creating the pdf in one of the documents with the link.
mxd = arcpy.mapping.MapDocument(r"O:\H5N8 Oregon\_WeeklyReports\Figure3_Iowa\Iowa_Inset.mxd")pdf_name = "Iowa_Inset.pdf"pdf_path = os.path.join (r"O:\H5N8 Oregon\_WeeklyReports\MapsOut",newfolder,pdf_name)arcpy.mapping.ExportToPDF(mxd, pdf_path)del mxd
أكثر...
The problem arises with the 5 pdfs that have a linked word document in them. It appears as a blank space.
I've read many different posts on this and maybe it can't be accomplished. Are there any good links or does anyone have advice on how to get this to work?
Here is the code snippet for creating the pdf in one of the documents with the link.
mxd = arcpy.mapping.MapDocument(r"O:\H5N8 Oregon\_WeeklyReports\Figure3_Iowa\Iowa_Inset.mxd")pdf_name = "Iowa_Inset.pdf"pdf_path = os.path.join (r"O:\H5N8 Oregon\_WeeklyReports\MapsOut",newfolder,pdf_name)arcpy.mapping.ExportToPDF(mxd, pdf_path)del mxd
أكثر...