-1

Excuse me for my bad english

I'm using ArcGIS 10.3 I am creating a script to screeshots

I'm using df.zoomToSelectedFeatures ()

arcpy.SelectLayerByAttribute_management ("Road", "NEW_SELECTION" '"dep" = 1')

df.zoomToSelectedFeatures ()

arcpy.SelectLayerByAttribute_management ("Road", "CLEAR_SELECTION")

arcpy.mapping.ExportToJPEG (mxd, jpgfile1, df)

my problem is that the zoom is not enough

how to change my script, to Zoom more?

PolyGeo
  • 65,136
  • 29
  • 109
  • 338

1 Answers1

0

As commented by @KHibma:

do your df.ZoomToSelectedFeatures(), then do the df.scale 
PolyGeo
  • 65,136
  • 29
  • 109
  • 338