Our GIS users have been using graphics to mark things in their map documents. By graphics, I mean circles, rectangles, lines, text, etc. that can be drawn into data view by using the Draw toolbar. We have a spatial reference (sr) change of all our geodata upcoming. Using Python, I want to crawl through hundreds of MXDs and replace all layer's data sources to point to the feature classes in the new sr. Also the script will set the sr of the data frames to the new sr.
But what about the graphics?
After the sr change, the graphics must still lie correctly relative to the features in the new sr. I didn't find a way to directly access and manipulate graphics with arcpy. As a workaround, I tried creating a custom transformation "sr old to sr new" and added it to the dataframe, assuming that the graphics have been drawn in the old sr and should therefore be transformed to the new sr. Unfortunately, this had no effect on the graphics. After many test runs of the script, the graphics lie displaced relative to the features in the new sr.
How can I transform the graphics to the new sr, so that they will maintain their correct position relative to the features?
Is there a way to directly access and manipulate graphics with ArcPy?
I am using ArcGIS Desktop 10.2.1.