arcpy.mapping.ExportToTIFF(kmxd, kpath+"\\test1_CmprsNone.tif", resolution=300, tiff_compression="NONE") arcpy.mapping.ExportToTIFF(kmxd, kpath+"\\test1_CmprsLZW.tif", resolution=300, tiff_compression="LZW") arcpy.mapping.ExportToTIFF(kmxd, kpath+"\\test1_CmprsDeflate.tif", resolution=300, tiff_compression="DEFLATE")
Can someone tell me why am I getting an error? error is marked in red. import arcpy ... mxd = arcpy.mapping.MapDocument(r"C:\Project\G_1.mxd") ... arcpy.mapping.ExportToTIFF(mxd, r"C:\Project\Output\Project.tif", resolution=300, tiff_compression="NONE") ... del mxd ... Runtime error <type 'exceptions.AttributeError'>: PageLayoutObject: Error in executing ExportToTIFF
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.