2

From what I can tell python at ArcGIS Desktop 10.0 cannot create new textElements nor GraphicElements. Yet, 10.1 seems to support the ability to at least create a clone, of a existing GraphicElements, but not create one from scratch.

Can someone confirm this?

Does anyone know of any workaround to create a textElement from scratch?

PolyGeo
65.5k29 gold badges115 silver badges349 bronze badges
asked Jul 4, 2012 at 21:47

1 Answer 1

2

This is true.

ArcPy at ArcGIS Desktop 10.0 cannot create or copy/clone graphic or text elements using the arcpy.mapping module.

ArcPy from ArcGIS 10.1 for Desktop has a clone option is available, but it is still not possible to create a graphic or text element from scratch.

This software behaviour is the same in ArcPy from ArcGIS 10.2 for Desktop where the TextElement (arcpy.mapping) help says:

The TextElement object provides access to properties that enable its repositioning on the page layout as well as modifying the text string and font size.

...

Existing text elements can be cloned and deleted. This capability was initially added to support the creation of dynamic graphic tables. To accomplish this, a map document must be authored with the text elements having the appropriate symbology.

PolyGeo
65.5k29 gold badges115 silver badges349 bronze badges
answered Jul 5, 2012 at 22:28

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.