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.

Does anyone know if there is a way to create a new empty dataframe in ArcMap 10.1 using Arcpy?

Thanks

share|improve this question
add comment

1 Answer

up vote 3 down vote accepted

In general, map layout elements cannot be created in arcpy -- they must be pre-authored, after which you can use arcpy.mapping to move them, resize them, set properties, etc.

In 10.1 they added cloning for text and graphic elements, but this does not apply to data frames, so it must be pre-authored.

For more info see:

share|improve this answer
1  
This is what i thought, but I was hoping someone had some more insight on a workaround or something I had missed in the data model. Thanks! –  dklassen Aug 22 '12 at 17:07
1  
One neat technique I saw at the Esri conference was pre-authoring as many data frames as you may ever need OUTSIDE of the page space, and then simply moving them back ONTO the page space as needed. –  RyanDalton Aug 22 '12 at 19:19
add comment

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.