Is there a method to simply progress from one data driven page to the next in a script? Essentially, like pressing the "Next Page" button on the toolbar. I have started with:
import arcpy
mxd = arcpy,mapping.mapdocument ("Current") # or should I reference the mxd directly?
ddp = mxd.datadrivenpages
cp = ddp.currentPageID
np = cp + 1 #Advance to next PageID?
arcpy.RefreshActiveView()
But cannot seem to find a way to advance to the next page, most searches yield methods to only export the pages.
The end goal is to build a tool that advances to the next data driven page and selects all features in a layer that has a page definition set to match the index. This will facilitate attribute editing for the selected features.
The image below shows the selection model which works just fine, I just need to be able to script something to move forward a page and then run the Model (or script it all) to simplify the process.