Solved! Go to Solution.
# 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)
# 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)