Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

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 using ArcGIS 10.1 and I have a non-spatial table and some layers in a Data Frame.

When I switch to Layout View I want to be able to show the map in a data frame element and the table in another element (something that one could do with "Add Table To Layout" from Table Options, but I want to do this in one step without having to go to Table Options).

Is there a way to do this using ArcPy?

I couldn't find any function in the ArcPy library that would create a new Layout Element ... and then I also don't know how to add the contents of the table to the Layout Element.

share|improve this question
you can look at the second part of my answer here :… , but this is meant for automation, not for interactivity. – radouxju Feb 6 '14 at 12:44
up vote 9 down vote accepted

It is not possible to create a new Layout Element from scratch using ArcPy but since ArcGIS 10.1 you have been able to clone graphic and text elements.

In the GraphicElement (arcpy.mapping) help there is code that shows you how to use cloning to:

construct a graphic table based on data values from a table in the map document.

If you are not keen on using ArcPy to do this then there are a number of ArcGIS Ideas to which I recommend that you add your vote:

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.