AnsweredAssumed Answered

python output to jpg - preserving highlighted feature in output

Question asked by m.cain on Sep 30, 2014
Latest reply on Oct 2, 2014 by jimcousins

My python script selects a record, zooms to it and then outputs the extent to jpg. However, the feature is no longer highlighted on the jpg.

 

     df.zoomToSelectedFeatures()

     db.scale = 1000

     arcpy.RefreshActiveView()

     arcpy.mapping.ExportToJPEG(mxd, dir+str(row.OBJECTID)+".jpg", db, df_export_width=500,df_export_height=400,world_file=False)

 

Thanks for your thoughts

Outcomes