AnsweredAssumed Answered

Python Map Document Dynamic Text

Question asked by hughespc on Oct 28, 2014
Latest reply on Oct 30, 2014 by bkeinath



I have a large number of map documents that contain Dynamic Text,  These will not open with ArcGIS 10.2.2 and arcmap simply crashes.  I want to convert these text items to either graphics or ordinary text items.  I am struggling to locate the dynamic text items in the map document.  I can see them as "Dynamic Text" items in the layout window if I open the Map Document.


Can anyone advise how or what these Dynamic Text items appear in the mxd.  Have tried the below python but they do not display..


import arcpy
import arcpy.mapping as mapping
import commands

mxd = mapping.MapDocument("K:/7_users/Phil/mapdoc/test.mxd")

for elm in arcpy.mapping.ListLayoutElements(mxd, "text_element"):
    print, elm.text