I have a script to export DDP extents to tif and when I change
arcpy.mapping.ExportToTIFF(mxd,"tests\BA\BA10k_" + str(ddp.pageRow.PageName) + ".tif",df,9306,9306*ar,1800,True)
to
arcpy.mapping.ExportToTIFF(mxd,"tests\BA\10k\BA10k_" + str(ddp.pageRow.PageName) + ".tif",df,9306,9306*ar,1800,True)
--added "10k" to the directory I get
Exporting page 1 of 760 Traceback (most recent call last): File "P:\2012\183_TownPlanning_Symbology\Working\Raster_Layer_Creation\DDP_GeoTiff_production_BA.py", line 10, in arcpy.mapping.ExportToTIFF(mxd,"tests\BA\10k\BA10k_" + str(ddp.pageRow.PageName) + ".tif",df,9306,9306*ar,1800,True) File "C:\Program Files (x86)\ArcGIS\Desktop10.1\arcpy\arcpy\utils.py", line 181, in fn_ return fn(*args, **kw) File "C:\Program Files (x86)\ArcGIS\Desktop10.1\arcpy\arcpy\mapping.py", line 1373, in ExportToTIFF layout.exportToTIFF(*args) AttributeError: DataFrameObject: Error in executing ExportToTIFF
Any ideas on why?