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

I am trying to create an empty MXD to act as a template.

I will have three dataframes for maps, each holding a different object from ArcSDE (1 raster object and 2 features).

I know how to query all of the data frames, but I am having trouble finding out how to add data to the dataframes.

Is there an online guide anywhere?

share|improve this question
up vote 2 down vote accepted

Read the section on ArcPy in the ArcGIS help documentation.

In the mapping module, you'll find a function for listing the data frames and adding a layer to the data frame.

The documentation has examples of exactly what you are describing.

share|improve this answer

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.