AnsweredAssumed Answered

AcrPy select current feature in data driven page to highlight feature on map

Question asked by eleedumas on Jun 6, 2011
Latest reply on Feb 16, 2012 by jessicakirby
I am using data driven pages to generate a map book of 507 utility districts in our county.  I want to select the current feature on the map page so that it is highlighted in the exported .pdf.  With the .mxd open, the base python code I am using is:

mxd = arcpy.mapping.MapDocument("CURRENT")
for pageNum in range(1, mxd.dataDrivenPages.pageCount + 1):
  mxd.dataDrivenPages.currentPageID = pageNum
# Select current feature ?

   print "Exporting page {0} of {1}".format(str(mxd.dataDrivenPages.currentPageID), str(mxd.dataDrivenPages.pageCount))
  arcpy.mapping.ExportToPDF(mxd, r"D:\PCMElee\Utilities\RouteBooks\MapBook_PCU_RouteBooks\RouteBook_Page" + str(pageNum) + ".pdf")

I have looked at a number of posts and the help. So far I not found a way to approach the problem with ArcInfo 10.0

Thank you in advance for your help and direction on this.