I have a relatively simple procedure that I want to accomplish using python. I am automating production of a standard series of maps showing the same location but different data. When writing a script to produce a USGS quad map of a property location, I would like the map title to change depending on the grid that the property falls within. My logic here has been to perform a select by location and use the selected "Name" attribute to become the map title. Can a selected attribute become a text element?
So far, I have written the selection criteria but I do not know where to go from here.
arcpy.SelectLayerByLocation_management("Quad\USGS Quad Boundaries","CONTAINS","lyrFile5","","NEW_SELECTION")
This procedure seems so simple but I have not been able to find a solution. Any help or insight on this matter is appreciated.