I have two different projects: one with map series created from bookmarks and one from a spatial index. If I try to export the bookmark map series in Python, the map series == None, even though I can export it just fine in Arc Pro (and the map series is definitely enabled). If I try on a map series created with a spatial index, it works just fine. So something simple like
import arcpy
aprx = arcpy.mp.ArcGISProject('project.aprx')
l = aprx.listLayouts('layout_name')[0]
l.mapSeries
will return None for the bookmark series and a valid MapSeries object for the spatial series. I originally thought this was a problem with the version of Pro I was using (2.6) and that it would hopefully get fixed later, but the problem persists in 2.9.
Has anyone else experienced this issue and perhaps found a workaround? Is there a special way to work with a layout's map series in Python if it was created using bookmarks? I can't find anything about this problem from an internet search.
Thanks!