import arcpy mxd = arcpy.mapping.MapDocument("CURRENT") # your title has to have "title" in the element name box (right-click on it \properties\size and position) titleItem = arcpy.mapping.ListLayoutElements(mxd, "TEXT_ELEMENT", "title")[0] # change the title´s text titleItem.text = "some new title"
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.