Arcpy.mp map series query layer attribute

690
1
Jump to solution
10-14-2021 09:20 AM
TimothyMcKinney
New Contributor III

Noob python question here. I have a spatial map series active on a layout and am using arcpy.mp to automate some mapping functions. I am trying to query an attribute from the index layer to store as variable in my loop. I am testing this outside the loop now and am having trouble returning the attribute value. What is the mapping function used to return a specific attribute from the index layer?

 

l = aprx.listLayouts("img_ov_in*")[0]
ms = l.mapSeries
indexLyr = ms.indexLayer

atr = indexlyr.???('overview_image_dir')

 

 

 

0 Kudos
1 Solution

Accepted Solutions
DavidPike
MVP Frequent Contributor

possibly pageRow.yourFieldName

MapSeries—ArcGIS Pro | Documentation

ms.pageRow.overview_image_dir

View solution in original post

1 Reply
DavidPike
MVP Frequent Contributor

possibly pageRow.yourFieldName

MapSeries—ArcGIS Pro | Documentation

ms.pageRow.overview_image_dir