Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

I need to copy the current data driven page to a new ArcMap Document using arcpy so that I can make sure the file name follows the naming schema that we have defined and the user cannot change. Is it possible to do this with arcpy?

share|improve this question
    
What version of ArcGIS for Desktop are you using? Where are you hoping to run this code from? –  PolyGeo Jul 1 '13 at 19:53
    
ArcGIS 10.1 and everyone will be running the same. –  jfftck.work Jul 1 '13 at 20:03

1 Answer 1

As you loop through each page in Python, you can do mxd.saveACopy(path_out) and it would save a map with the current page as active. I don't know why you would want to do this over just using the Data Driven Pages toolbar in ArcMap, though.

share|improve this answer
    
we want a copy of just the one page for people to edit and we can keep the original edit-free. –  jfftck.work Jul 1 '13 at 20:50
1  
@user17350 I'm struggling to understand the use case too. I suspect you may be wanting the output to be non-DDP-enabled with the index polygon feature Select-ed out to replace the data source of your index layer. How are you planning to trigger this copy? –  PolyGeo Jul 1 '13 at 23:34
    
We decided to go with another route, but thanks. –  jfftck.work Jul 2 '13 at 12:18

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.