AnsweredAssumed Answered

How to export shape file based on data driven page limits

Question asked by friendfromarea51 on Nov 4, 2017
Latest reply on Nov 5, 2017 by xander_bakker

Need help to export shape files based on limits of dataframes... I've got this far but think I'm going in the wrong direction:

 

 

import arcpy

 

mxd = arcpy.mapping.MapDocument("CURRENT")
df = arcpy.mapping.ListDataFrames(mxd)[0]

 

for pageNum in range(1, mxd.dataDrivenPages.pageCount + 1):
    mxd.dataDrivenPages.currentPageID = pageNum
arcpy.FeatureClassToFeatureClass_conversion("ParcelPoly","C:\Test\name","name"... need help here
del mxd

Outcomes