<?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: Can I select layer on contents view programmatically ? in ArcGIS Pro SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/can-i-select-layer-on-contents-view/m-p/1495754#M11718</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Yes, You can. MapView has method&amp;nbsp;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/sdk/api-reference/topic11993.html" target="_self"&gt;SelectLayers&lt;/A&gt;.&lt;/P&gt;</description>
    <pubDate>Fri, 21 Jun 2024 05:10:04 GMT</pubDate>
    <dc:creator>GKmieliauskas</dc:creator>
    <dc:date>2024-06-21T05:10:04Z</dc:date>
    <item>
      <title>Can I select layer on contents view programmatically ?</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/can-i-select-layer-on-contents-view/m-p/1495730#M11716</link>
      <description>&lt;P&gt;I am currently attempting to port a tool from ArcGIS Desktop + ArcObjects to ArcGIS Pro. In ArcObjects, I was able to select a layer in the content view using the following code:&lt;/P&gt;&lt;P&gt;IMap map = ArcMap.Document.FocusMap;&lt;BR /&gt;IActiveView activeView = (IActiveView)map;&lt;BR /&gt;IContentsView contentsView = mxd.CurrentContentsView;&lt;BR /&gt;contentsView.SelectedItem = layer;&lt;/P&gt;&lt;P&gt;However, in ArcGIS Pro, I cannot find an equivalent functionality. Is there a corresponding feature available in ArcGIS Pro? I could not find it in the API reference.&lt;/P&gt;</description>
      <pubDate>Fri, 21 Jun 2024 00:39:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/can-i-select-layer-on-contents-view/m-p/1495730#M11716</guid>
      <dc:creator>rdc_hirohara</dc:creator>
      <dc:date>2024-06-21T00:39:49Z</dc:date>
    </item>
    <item>
      <title>Re: Can I select layer on contents view programmatically ?</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/can-i-select-layer-on-contents-view/m-p/1495754#M11718</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Yes, You can. MapView has method&amp;nbsp;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/sdk/api-reference/topic11993.html" target="_self"&gt;SelectLayers&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Fri, 21 Jun 2024 05:10:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/can-i-select-layer-on-contents-view/m-p/1495754#M11718</guid>
      <dc:creator>GKmieliauskas</dc:creator>
      <dc:date>2024-06-21T05:10:04Z</dc:date>
    </item>
    <item>
      <title>Re: Can I select layer on contents view programmatically ?</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/can-i-select-layer-on-contents-view/m-p/1495756#M11719</link>
      <description>&lt;DIV class=""&gt;&lt;DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;Thank you for the information, GKmieliauskas. The SelectLayers method in MapView is exactly what I was looking for. I appreciate your help!&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 21 Jun 2024 05:42:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/can-i-select-layer-on-contents-view/m-p/1495756#M11719</guid>
      <dc:creator>rdc_hirohara</dc:creator>
      <dc:date>2024-06-21T05:42:59Z</dc:date>
    </item>
    <item>
      <title>Re: Can I select layer on contents view programmatically ?</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/can-i-select-layer-on-contents-view/m-p/1495761#M11720</link>
      <description>&lt;P&gt;So, accept as solution&lt;/P&gt;</description>
      <pubDate>Fri, 21 Jun 2024 07:13:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/can-i-select-layer-on-contents-view/m-p/1495761#M11720</guid>
      <dc:creator>GKmieliauskas</dc:creator>
      <dc:date>2024-06-21T07:13:26Z</dc:date>
    </item>
  </channel>
</rss>

