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"
Angemeldete Mitglieder können Beiträge verfassen, Updates folgen und mehr. Neu hier? Registriere ein kostenloses Konto.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.