<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Exporting Thematic Map Series with arcpy.mp in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/exporting-thematic-map-series-with-arcpy-mp/m-p/1578874#M92294</link>
    <description>&lt;P&gt;I've run into the same thing - the lyt.mapSeries object returns "None" if a thematic series is enabled.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(Edit: Argis Pro 3.4 here)&lt;/P&gt;</description>
    <pubDate>Mon, 27 Jan 2025 16:50:54 GMT</pubDate>
    <dc:creator>ErinIverson</dc:creator>
    <dc:date>2025-01-27T16:50:54Z</dc:date>
    <item>
      <title>Exporting Thematic Map Series with arcpy.mp</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/exporting-thematic-map-series-with-arcpy-mp/m-p/1557775#M90066</link>
      <description>&lt;P&gt;Wanted see see if anyone else had encountered this issue.&lt;/P&gt;&lt;P&gt;I have a python script setup for batch exporting layouts with a map series to PDF. I set it up on a new project&amp;nbsp; that uses thematic map series in a few layouts. When it hits one of these, it gets skipped.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here's a link to a support article with the a code example of how it normally works. (My script just has a little extra run through multiple layouts, and skip to the next if there's an error, but this is the part that matters)&lt;/P&gt;&lt;P&gt;&lt;A href="https://support.esri.com/en-us/knowledge-base/export-map-series-000028089" target="_blank"&gt;https://support.esri.com/en-us/knowledge-base/export-map-series-000028089&lt;/A&gt;&lt;/P&gt;&lt;P&gt;So if a layout has a bookmark or spatial map series, you can run &lt;EM&gt;exportToPDF&lt;/EM&gt; on the the layout's "&lt;EM&gt;mapSeries&lt;/EM&gt;" object instead of the "&lt;EM&gt;layout&lt;/EM&gt;" object (otherwise it just exports the first page).&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(At least for me) if the layout has a thematic map series, that "&lt;EM&gt;mapSeries&lt;/EM&gt;" object is null, so ms.exportToPDF fails.&lt;/P&gt;&lt;P&gt;Looking at the documentation, there are separate objects for (spatial) MapSeries and BookmarkMapSeries,&amp;nbsp; but nothing mentioned for Thematic.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/arcpy/mapping/mapseries-class.htm" target="_blank"&gt;https://pro.arcgis.com/en/pro-app/latest/arcpy/mapping/mapseries-class.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/arcpy/mapping/bookmarkmapseries-class.htm" target="_blank"&gt;https://pro.arcgis.com/en/pro-app/latest/arcpy/mapping/bookmarkmapseries-class.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;(I'm still on Pro 3.3x as of writing, but also didn't see this mentioned in the notes for 3.4)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Nov 2024 21:51:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/exporting-thematic-map-series-with-arcpy-mp/m-p/1557775#M90066</guid>
      <dc:creator>AdamDoyle</dc:creator>
      <dc:date>2024-11-12T21:51:02Z</dc:date>
    </item>
    <item>
      <title>Re: Exporting Thematic Map Series with arcpy.mp</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/exporting-thematic-map-series-with-arcpy-mp/m-p/1569200#M91337</link>
      <description>&lt;P&gt;I've just started looking into this as well. Would love to know if anyone has a working script for this using the new inbuilt Thematic Map Series.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My current script is based on the Layout Sample Code 2 &lt;A href="https://pro.arcgis.com/en/pro-app/3.3/arcpy/mapping/layout-class.htm#C_GUID-6DFB661B-D50A-4E3A-AE75-6884442AD100" target="_blank"&gt;https://pro.arcgis.com/en/pro-app/3.3/arcpy/mapping/layout-class.htm#C_GUID-6DFB661B-D50A-4E3A-AE75-6884442AD100&lt;/A&gt;&amp;nbsp;which will export one PDF but only the currently selected thematic map series rather than iterating though them all.&lt;/P&gt;</description>
      <pubDate>Tue, 17 Dec 2024 05:07:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/exporting-thematic-map-series-with-arcpy-mp/m-p/1569200#M91337</guid>
      <dc:creator>SummerBailey-Kerber</dc:creator>
      <dc:date>2024-12-17T05:07:28Z</dc:date>
    </item>
    <item>
      <title>Re: Exporting Thematic Map Series with arcpy.mp</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/exporting-thematic-map-series-with-arcpy-mp/m-p/1578874#M92294</link>
      <description>&lt;P&gt;I've run into the same thing - the lyt.mapSeries object returns "None" if a thematic series is enabled.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(Edit: Argis Pro 3.4 here)&lt;/P&gt;</description>
      <pubDate>Mon, 27 Jan 2025 16:50:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/exporting-thematic-map-series-with-arcpy-mp/m-p/1578874#M92294</guid>
      <dc:creator>ErinIverson</dc:creator>
      <dc:date>2025-01-27T16:50:54Z</dc:date>
    </item>
    <item>
      <title>Re: Exporting Thematic Map Series with arcpy.mp</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/exporting-thematic-map-series-with-arcpy-mp/m-p/1609977#M95396</link>
      <description>&lt;P&gt;An Esri Idea was just added for this.&amp;nbsp; Please review and consider the code samples as a possible solution.&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/t5/arcgis-pro-ideas/arcpy-mp-support-for-thematic-map-series/idi-p/1609908" target="_blank"&gt;https://community.esri.com/t5/arcgis-pro-ideas/arcpy-mp-support-for-thematic-map-series/idi-p/1609908&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Jeff - arcpy.mp team&lt;/P&gt;</description>
      <pubDate>Tue, 29 Apr 2025 14:25:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/exporting-thematic-map-series-with-arcpy-mp/m-p/1609977#M95396</guid>
      <dc:creator>JeffBarrette</dc:creator>
      <dc:date>2025-04-29T14:25:18Z</dc:date>
    </item>
  </channel>
</rss>

