Select to view content in your preferred language

arcpy.mapping.ListLayoutElements which element type to use?

882
3
04-04-2013 08:39 AM
ChristopherOneal
Emerging Contributor
I have a series of mxds that I have previously constructed which contain text elements and picture elements grouped. Their position within each mxd differs slightly. I would like to standardize the position of tese groups of text and objects/pictures. What element_type do I need to use?
Tags (2)
0 Kudos
3 Replies
markdenil
Frequent Contributor
if you are after groups, use GRAPHIC_ELEMENT
0 Kudos
DonIwanicka
New Contributor
You don't have to specify an element_type as the default is none. As long as your elements have names and you can identify their name and type with the element properties.

Don
0 Kudos
KimOllivier
Honored Contributor
That is the catch with old MXD files.

The graphic elements did not have element tags for a name, so you have to go through by hand and give each one a name to use the new mapping module to edit them.
0 Kudos