tags. Here it is again: try: pdfDoc = arcpy.mapping.PDFDocumentCreate(r"C:\Temp\final.pdf") for mxds in mxdList: mapDoc = arcpy.mapping.MapDocument(mxds) print "Accessed " + mxds tempFile = r"C:\Temp\temp.pdf" arcpy.mapping.ExportToPDF(mapDoc, tempFile) print "Exported to temp PDF" del mapDoc pdfDoc.appendPages(tempFile) pdfDoc.saveAndClose() except: print "Did not create pdf"
Aangemelde leden kunnen berichten plaatsen, updates volgen en meer. Nieuw hier? Registreer een gratis account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.