# Create a new, empty pdf document in the specified output location folder if not os.path.isdir(outDir): arcpy.AddMessage("{} did not exist; creating...".format(outDir)) os.makedirs(outDir) finalpdf_filename = outDir + r"\ArenacMB.pdf" if os.path.exists(finalpdf_filename): os.remove(finalpdf_filename) finalPdf = arcpy.mapping.PDFDocumentCreate(finalpdf_filename)
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.