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)
サインインしたメンバーは投稿、更新のフォローなどができます。初めてですか?無料アカウントを登録してください。
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.