<?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: aprx.activeMap in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/aprx-activemap/m-p/396944#M31328</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the info Dan.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was able to get upgraded to 2.6.2 last Friday and can now use activeView (yay).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 09 Nov 2020 21:03:42 GMT</pubDate>
    <dc:creator>ChrisHolmes</dc:creator>
    <dc:date>2020-11-09T21:03:42Z</dc:date>
    <item>
      <title>aprx.activeMap</title>
      <link>https://community.esri.com/t5/python-questions/aprx-activemap/m-p/396942#M31326</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am using Arcgis Pro 2.4.3 and have the following code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;aprx = arcpy.mp.ArcGISProject("CURRENT")&lt;BR /&gt;mv = aprx.activeMap&lt;/P&gt;&lt;P&gt;arcpy.AddMessage(mv.name)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using this to get the active map window, but what I'm having trouble figuring out is how do I determine if the "active" window is a layout window. If the above is used on a layout window it will return the name of the map that the active map frame is based on in the layout.&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/512440_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;P&gt;It's tricky searching the online documentation when I'm not using the current version of Pro. There is a activeView property which I think does what I want to do, but I don't think it's available in 2.4.3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Nov 2020 05:53:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/aprx-activemap/m-p/396942#M31326</guid>
      <dc:creator>ChrisHolmes</dc:creator>
      <dc:date>2020-11-04T05:53:07Z</dc:date>
    </item>
    <item>
      <title>Re: aprx.activeMap</title>
      <link>https://community.esri.com/t5/python-questions/aprx-activemap/m-p/396943#M31327</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you would have to go through&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://pro.arcgis.com/en/pro-app/get-started/whats-new-in-arcgis-pro.htm" title="https://pro.arcgis.com/en/pro-app/get-started/whats-new-in-arcgis-pro.htm"&gt;What's new in ArcGIS Pro 2.6—ArcGIS Pro | Documentation&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://pro.arcgis.com/en/pro-app/get-started/what-s-new-in-arcgis-pro-2-5.htm#ESRI_SECTION1_3EF7E85D3ED743DCA4ABF5A44801FAD2" title="https://pro.arcgis.com/en/pro-app/get-started/what-s-new-in-arcgis-pro-2-5.htm#ESRI_SECTION1_3EF7E85D3ED743DCA4ABF5A44801FAD2"&gt;What's new in ArcGIS Pro 2.5—ArcGIS Pro | Documentation&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and check the Python section(s) if there, to see if anything was added to arcpy.&lt;/P&gt;&lt;P&gt;Alternately a simple dir( ) on an object will provide a list of what is available in terms of an objects properties and methods&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Nov 2020 06:09:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/aprx-activemap/m-p/396943#M31327</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2020-11-04T06:09:05Z</dc:date>
    </item>
    <item>
      <title>Re: aprx.activeMap</title>
      <link>https://community.esri.com/t5/python-questions/aprx-activemap/m-p/396944#M31328</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the info Dan.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was able to get upgraded to 2.6.2 last Friday and can now use activeView (yay).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Nov 2020 21:03:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/aprx-activemap/m-p/396944#M31328</guid>
      <dc:creator>ChrisHolmes</dc:creator>
      <dc:date>2020-11-09T21:03:42Z</dc:date>
    </item>
  </channel>
</rss>

