# 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)
Los miembros registrados pueden publicar, seguir actualizaciones y más. ¿Nuevo aquí? Regístrate gratis.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.