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 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 actually data to the dataframes. Is there an online guide anywhere?

Thanks for any help.

share|improve this question

1 Answer 1

up vote 1 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 if you just take a few minuets to read it.

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.