Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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


share|improve this question
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
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
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

Your Answer


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.