arcpy.mapping.ExportToPDF(mxd, ("C:/Users/cuydls/Documents/ArcGIS/Lease_Book/Output/LeaseBook_"+str(pageNum+5) + ".pdf"),df,5100,3300,300,"BEST","RGB",1,"ADAPTIVE","RASTERIZE_BITMAP",0,1,"LAYERS_ONLY",1,80)
Need to change pageNum to a string; str(pageNum+5) arcpy.mapping.ExportToPDF(mxd, ("C:/Users/cuydls/Documents/ArcGIS/Lease_Book/Output/LeaseBook_"+str(pageNum+5) + ".pdf"),df,5100,3300,300,"BEST","RGB",1,"ADAPTIVE","RASTERIZE_BITMAP",0,1,"LAYERS_ONLY",1,80)
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.