AnsweredAssumed Answered

Are graphic elements within data frames accessible using ArcPy?

Question asked by zaloudek on Jul 24, 2019

Are graphic elements within data frames accessible using ArcPy?

 

I'm attempting to adjust a graphic element that I have in a MXD using ArcPy.  However, it is not an element from the page layout (layout view), it is within a data frame (data view).  I can't use the ListLayoutElements function because: "ListLayoutElements only returns elements from a page layout and not map annotation elements that may exist within a data frame."

 

There's no way to accomplish this task manually - my script needs to export many images and the extent of the data frame changes for every image.  Big picture: I'm trying to work around label overprints of an inset data frame just like the "Don't ignore data frames" problem in this thread:

How do I force Maplex to ignore transparent polygons, not ignore Data Frames? 

Outcomes