<?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: Automatically Zoom to layer for second added layers in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/automatically-zoom-to-layer-for-second-added/m-p/1336562#M73857</link>
    <description>&lt;P&gt;It is possible to change default behavior using the code. Here you can find some references the first one is ArcPy but the rest are .Net SDK. Hope this would be helpful for anyone who is interested:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/arcpy/mapping/camera-class.htm" target="_blank" rel="nofollow noopener"&gt;Camera setExtent —ArcGIS Pro&amp;nbsp;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/sdk/api-reference/topic11943.html" target="_blank" rel="nofollow noopener"&gt;MapView Class&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/sdk/api-reference/topic11997.html" target="_blank" rel="nofollow noopener"&gt;SetViewingModeAsync Method&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/2.9/sdk/api-reference/index.html#topic12017.html" target="_blank" rel="nofollow noopener"&gt;ZoomToAsync Method&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 10 Oct 2023 14:16:23 GMT</pubDate>
    <dc:creator>MoeinZohary</dc:creator>
    <dc:date>2023-10-10T14:16:23Z</dc:date>
    <item>
      <title>Automatically Zoom to layer for second added layers</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/automatically-zoom-to-layer-for-second-added/m-p/1335483#M73740</link>
      <description>&lt;P&gt;In ArcGIS Pro, when I add a new layer to an empty project, it automatically zooms to that layer, which is very convenient. However, when I add a second layer to the project, the view remains focused on the first layer, and I need to right-click and manually select 'Zoom to Layer' for the new one.&lt;/P&gt;&lt;P&gt;Is there a way to modify the default behavior so that when I add a new layer, the map view automatically zooms to it, similar to how it behaves when adding the first layer?&lt;/P&gt;&lt;P&gt;Thanks&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Oct 2023 17:17:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/automatically-zoom-to-layer-for-second-added/m-p/1335483#M73740</guid>
      <dc:creator>MoeinZohary</dc:creator>
      <dc:date>2023-10-05T17:17:08Z</dc:date>
    </item>
    <item>
      <title>Re: Automatically Zoom to layer for second added layers</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/automatically-zoom-to-layer-for-second-added/m-p/1335489#M73742</link>
      <description>&lt;P&gt;No there isn't and it would be inconvenient to some if it did.&lt;/P&gt;&lt;P&gt;Various options are set in the Project Backstage under options, perhaps mouse wheel scroll pan and zoom might come the closest to what you partially want.&lt;/P&gt;</description>
      <pubDate>Thu, 05 Oct 2023 17:29:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/automatically-zoom-to-layer-for-second-added/m-p/1335489#M73742</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2023-10-05T17:29:36Z</dc:date>
    </item>
    <item>
      <title>Re: Automatically Zoom to layer for second added layers</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/automatically-zoom-to-layer-for-second-added/m-p/1335492#M73743</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/215600"&gt;@DanPatterson&lt;/a&gt;&amp;nbsp;Thank you very much for answering. That what I was thinking. Just wanted to be sure.&lt;/P&gt;</description>
      <pubDate>Thu, 05 Oct 2023 17:38:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/automatically-zoom-to-layer-for-second-added/m-p/1335492#M73743</guid>
      <dc:creator>MoeinZohary</dc:creator>
      <dc:date>2023-10-05T17:38:00Z</dc:date>
    </item>
    <item>
      <title>Re: Automatically Zoom to layer for second added layers</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/automatically-zoom-to-layer-for-second-added/m-p/1336562#M73857</link>
      <description>&lt;P&gt;It is possible to change default behavior using the code. Here you can find some references the first one is ArcPy but the rest are .Net SDK. Hope this would be helpful for anyone who is interested:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/arcpy/mapping/camera-class.htm" target="_blank" rel="nofollow noopener"&gt;Camera setExtent —ArcGIS Pro&amp;nbsp;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/sdk/api-reference/topic11943.html" target="_blank" rel="nofollow noopener"&gt;MapView Class&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/sdk/api-reference/topic11997.html" target="_blank" rel="nofollow noopener"&gt;SetViewingModeAsync Method&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/2.9/sdk/api-reference/index.html#topic12017.html" target="_blank" rel="nofollow noopener"&gt;ZoomToAsync Method&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Oct 2023 14:16:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/automatically-zoom-to-layer-for-second-added/m-p/1336562#M73857</guid>
      <dc:creator>MoeinZohary</dc:creator>
      <dc:date>2023-10-10T14:16:23Z</dc:date>
    </item>
  </channel>
</rss>

