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')
Solved! Go to Solution.