<?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>idea pythonaddins.GetSelectedTOCLayerOrDataFrame()  should return a list. in ArcGIS Pro Ideas</title>
    <link>https://community.esri.com/t5/arcgis-pro-ideas/pythonaddins-getselectedtoclayerordataframe-should/idi-p/935156</link>
    <description>&lt;P&gt;pythonaddins.GetSelectedTOCLayerOrDataFrame() is too limited. &amp;nbsp;Returns "none" if nothing or more than one layer is selected. &amp;nbsp;It wolud be very nice if it returned a list of items and them we can test if it is a layer object or dataframe object or an empty list. It wolud be much more usable than it is now. &amp;nbsp;so if i want to execute something for &amp;nbsp;say five selcetde layers now the user would have to unselect and run the butten (in my case) 5 times changing tho selection between. &amp;nbsp;If it returned a list it colud all be done at once. &amp;nbsp;ESRI support said there is no wayto get all selected layers form the toc with a python addin at this time.&lt;/P&gt;&lt;!--  content transformation source ID: 087E00000004qxb  --&gt;</description>
    <pubDate>Tue, 02 Jul 2024 23:26:43 GMT</pubDate>
    <dc:creator>BurtMcAlpine</dc:creator>
    <dc:date>2024-07-02T23:26:43Z</dc:date>
    <item>
      <title>pythonaddins.GetSelectedTOCLayerOrDataFrame()  should return a list.</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/pythonaddins-getselectedtoclayerordataframe-should/idi-p/935156</link>
      <description>&lt;P&gt;pythonaddins.GetSelectedTOCLayerOrDataFrame() is too limited. &amp;nbsp;Returns "none" if nothing or more than one layer is selected. &amp;nbsp;It wolud be very nice if it returned a list of items and them we can test if it is a layer object or dataframe object or an empty list. It wolud be much more usable than it is now. &amp;nbsp;so if i want to execute something for &amp;nbsp;say five selcetde layers now the user would have to unselect and run the butten (in my case) 5 times changing tho selection between. &amp;nbsp;If it returned a list it colud all be done at once. &amp;nbsp;ESRI support said there is no wayto get all selected layers form the toc with a python addin at this time.&lt;/P&gt;&lt;!--  content transformation source ID: 087E00000004qxb  --&gt;</description>
      <pubDate>Tue, 02 Jul 2024 23:26:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/pythonaddins-getselectedtoclayerordataframe-should/idi-p/935156</guid>
      <dc:creator>BurtMcAlpine</dc:creator>
      <dc:date>2024-07-02T23:26:43Z</dc:date>
    </item>
    <item>
      <title>Re: pythonaddins.GetSelectedTOCLayerOrDataFrame()  should return a list.</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/pythonaddins-getselectedtoclayerordataframe-should/idc-p/935157#M4001</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;I second this.

&lt;!-- content transformation source ID: 00aE000000AXJF5 --&gt;

&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Feb 2015 20:17:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/pythonaddins-getselectedtoclayerordataframe-should/idc-p/935157#M4001</guid>
      <dc:creator>JamesStephaniuk</dc:creator>
      <dc:date>2015-02-26T20:17:04Z</dc:date>
    </item>
    <item>
      <title>Re: pythonaddins.GetSelectedTOCLayerOrDataFrame()  should return a list.</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/pythonaddins-getselectedtoclayerordataframe-should/idc-p/935158#M4002</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Has this been added?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/368659_python.png" style="width: 620px; height: 250px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Aug 2017 17:27:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/pythonaddins-getselectedtoclayerordataframe-should/idc-p/935158#M4002</guid>
      <dc:creator>TimWitt2</dc:creator>
      <dc:date>2017-08-25T17:27:59Z</dc:date>
    </item>
    <item>
      <title>Re: pythonaddins.GetSelectedTOCLayerOrDataFrame()  should return a list. - Status changed to: Closed</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/pythonaddins-getselectedtoclayerordataframe-should/idc-p/1507390#M31060</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your suggestion regarding Python add-ins in ArcMap, and&amp;nbsp;&lt;SPAN&gt;apologies for the very late response. Your post was only recently redirected to the correct ideas exchange for Python/ArcPy ideas.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Development on ArcMap has ended, and we strongly encourage moving to ArcGIS Pro.&amp;nbsp;However, Python Add-ins are not supported in ArcGIS Pro and there are no plans to support Python Add-ins in ArcGIS Pro in the future. Please see &lt;A href="https://community.esri.com/t5/arcgis-pro-ideas/python-add-ins-for-arcgis-pro/idc-p/1017966/highlight/true#M14944" target="_blank"&gt;Python Add-Ins for ArcGIS Pro (esri.com)&lt;/A&gt;&amp;nbsp;for a full explanation.&lt;/P&gt;&lt;P&gt;We understand that this may be disappointing, but we appreciate your suggestion and hope you will continue to share your thoughts on how we can improve our software. If you have any other suggestions or questions, please don't hesitate to reach out.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 19 Jul 2024 18:13:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/pythonaddins-getselectedtoclayerordataframe-should/idc-p/1507390#M31060</guid>
      <dc:creator>HannesZiegler</dc:creator>
      <dc:date>2024-07-19T18:13:23Z</dc:date>
    </item>
  </channel>
</rss>

