AnsweredAssumed Answered

Modifying MXD layout through python script?

Question asked by ascullyCOT on Oct 20, 2017
Latest reply on Oct 23, 2017 by ascullyCOT

Working on a big geoprocessing tool that generates a pdf map from an mxd using arcpy mapping.  For every run of the tool, we need the title to change based on some user inputs.


In addition, we have a feature class that gets truncated/appended during the script run.  In the legend, we are displaying a 'Name' attribute for this particular feature class.  The FC will always contain only 1 record, but we need the value in the legend to change to reflect the most current value in the FC.  


So basically I have 2 python/ArcMap layout questions - title taking user-input values and refreshing values in the legend (which are based on the symbology and values there).  

I've looked at dynamic text options, but these don't appear to have access to attribute-level values.


Thanks -