Bug in arcpy.mapping

1966
0
10-30-2014 06:51 AM
JamesRamm
New Contributor II

Has anyone else had this problem?

 

I have an mxd file with two layers in it, one of which is fairly 'heavy' (i.e. takes a minute or so to draw). All layers are visible by default.

 

I have the following code, which opens the mxd file (from outside arcmap) and exports it to a tiff.

 

import arcpy template = r"C:\mxd_templates\template1.mxd" mxd = arcpy.mapping.MapDocument(template) arcpy.mapping.ExportToTIFF(mxd, "C:/temp/test.tif")

 

The tif file is created, but the second 'heavy' layer is never rendered.

This happens no matter what image format I export to.

 

I've not found anywhere to be able to report bugs online, and I'm having a hard time to get ESRI to recognise this as a bug or to point out what I am doing wrong. Although it is hard to see what could possibly be wrong in 4 lines of code?

 

Same behaviour on 10.1, 10.2 and 10.2.2

0 Kudos
0 Replies