I have over 400 basic maps to prepare which entails simply zooming to each of 400 features in a single shapefile and exporting a jpeg for each one. As part of the map I also have an inset dataframe showing the location of the feature in the greater scheme of things, and so I additionally have to set the feature's number into the definition query of layer in the inset map to isolate it there before exporting the jpeg.
I would love for someone to be able to point me in the direction of a script/s that can help me to automate this process... I am sure it must have been done before?
Thanks again for your script, it has gone a long way to helping me achieve my task. I have a further question though. Is it possible to write a definition query into another layer? I am wanting to generate an inset map as per the attached image. This will need to be in a separate data frame though in the same map.