<?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: Find selected layers in active map with arcpy in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/find-selected-layers-in-active-map-with-arcpy/m-p/1556112#M89868</link>
    <description>&lt;P&gt;I have also spent a lot of time trying to figure out if this is possible, and did not find a definitive answer but am leaning to the conclusion that is not.&amp;nbsp; AS (artificial stupidity) only comes up with selected features as you have discovered. The closest answer I found is that the python API is designed to work with any .aprx project whether or not it is the currently running project, and selected layers are not persisted in the .aprx.&amp;nbsp;&lt;/P&gt;&lt;P&gt;It IS possible with the .net API, but that's a bigger level of effort to go down that road...&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 06 Nov 2024 22:54:20 GMT</pubDate>
    <dc:creator>Pukawai</dc:creator>
    <dc:date>2024-11-06T22:54:20Z</dc:date>
    <item>
      <title>Find selected layers in active map with arcpy</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/find-selected-layers-in-active-map-with-arcpy/m-p/1556020#M89859</link>
      <description>&lt;P&gt;Is there a way to determine what layers are selected in the active maps contents pane using arcpy for ArcGIS pro?&amp;nbsp; Note that I don't want the layers with selected features which is what is used in the "How To" post&amp;nbsp;&lt;A href="https://support.esri.com/en-us/knowledge-base/how-to-list-selected-layers-from-an-arcgis-pro-map-usin-000032814" target="_blank" rel="noopener"&gt;https://support.esri.com/en-us/knowledge-base/how-to-list-selected-layers-from-an-arcgis-pro-map-usin-000032814.&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Nov 2024 20:15:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/find-selected-layers-in-active-map-with-arcpy/m-p/1556020#M89859</guid>
      <dc:creator>DA3</dc:creator>
      <dc:date>2024-11-06T20:15:07Z</dc:date>
    </item>
    <item>
      <title>Re: Find selected layers in active map with arcpy</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/find-selected-layers-in-active-map-with-arcpy/m-p/1556112#M89868</link>
      <description>&lt;P&gt;I have also spent a lot of time trying to figure out if this is possible, and did not find a definitive answer but am leaning to the conclusion that is not.&amp;nbsp; AS (artificial stupidity) only comes up with selected features as you have discovered. The closest answer I found is that the python API is designed to work with any .aprx project whether or not it is the currently running project, and selected layers are not persisted in the .aprx.&amp;nbsp;&lt;/P&gt;&lt;P&gt;It IS possible with the .net API, but that's a bigger level of effort to go down that road...&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Nov 2024 22:54:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/find-selected-layers-in-active-map-with-arcpy/m-p/1556112#M89868</guid>
      <dc:creator>Pukawai</dc:creator>
      <dc:date>2024-11-06T22:54:20Z</dc:date>
    </item>
  </channel>
</rss>

