<?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 Pause Map refresh using python code in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/pause-map-refresh-using-python-code/m-p/121607#M9488</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have script that I run from the python window in arcmap that creates intermediate feature classes that I then delete once the final feature class is created.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The problem is I cannot find a way to stop ArcMap plotting these intermediate feature classes and refreshing the map as each one is created.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there a way to pause the map update (using code) that I can incorporate in my script?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 01 Nov 2013 15:20:57 GMT</pubDate>
    <dc:creator>EssamElhalhuli</dc:creator>
    <dc:date>2013-11-01T15:20:57Z</dc:date>
    <item>
      <title>Pause Map refresh using python code</title>
      <link>https://community.esri.com/t5/python-questions/pause-map-refresh-using-python-code/m-p/121607#M9488</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have script that I run from the python window in arcmap that creates intermediate feature classes that I then delete once the final feature class is created.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The problem is I cannot find a way to stop ArcMap plotting these intermediate feature classes and refreshing the map as each one is created.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there a way to pause the map update (using code) that I can incorporate in my script?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Nov 2013 15:20:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/pause-map-refresh-using-python-code/m-p/121607#M9488</guid>
      <dc:creator>EssamElhalhuli</dc:creator>
      <dc:date>2013-11-01T15:20:57Z</dc:date>
    </item>
    <item>
      <title>Re: Pause Map refresh using python code</title>
      <link>https://community.esri.com/t5/python-questions/pause-map-refresh-using-python-code/m-p/121608#M9489</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Is there anything preventing you from running the script outside of ArcMap (eg as a tool in ArcCatalog by simply executing the python script)?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Nov 2013 15:22:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/pause-map-refresh-using-python-code/m-p/121608#M9489</guid>
      <dc:creator>DouglasSands</dc:creator>
      <dc:date>2013-11-01T15:22:59Z</dc:date>
    </item>
    <item>
      <title>Re: Pause Map refresh using python code</title>
      <link>https://community.esri.com/t5/python-questions/pause-map-refresh-using-python-code/m-p/121609#M9490</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Doug, &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The script uses the current map extent and CRS.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;My end game hope is to make this an add-in as there are no other parameters required&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Nov 2013 15:27:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/pause-map-refresh-using-python-code/m-p/121609#M9490</guid>
      <dc:creator>EssamElhalhuli</dc:creator>
      <dc:date>2013-11-01T15:27:52Z</dc:date>
    </item>
    <item>
      <title>Re: Pause Map refresh using python code</title>
      <link>https://community.esri.com/t5/python-questions/pause-map-refresh-using-python-code/m-p/121610#M9491</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Is there a way to pause the map update (using code) that I can incorporate in my script?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Not a direct way to do this I think, but how just turning the layers off until the script is done executing? A related post: &lt;/SPAN&gt;&lt;A href="http://forums.arcgis.com/threads/94756-Use-Arcpy-to-Unselect-the-currently-selected-Features-in-all-layers?p=338920&amp;amp;viewfull=1#post338920"&gt;http://forums.arcgis.com/threads/94756-Use-Arcpy-to-Unselect-the-currently-selected-Features-in-all-layers?p=338920&amp;amp;viewfull=1#post338920&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Nov 2013 15:39:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/pause-map-refresh-using-python-code/m-p/121610#M9491</guid>
      <dc:creator>ChrisSnyder</dc:creator>
      <dc:date>2013-11-01T15:39:06Z</dc:date>
    </item>
    <item>
      <title>Re: Pause Map refresh using python code</title>
      <link>https://community.esri.com/t5/python-questions/pause-map-refresh-using-python-code/m-p/121611#M9492</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The best option I have found so far is to use arcgisscripting.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Using before the intermediate creations:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;gp = arcgisscripting.create()&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;gp.AddOutputsToMap = False&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Then before the final featureclass:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;gp.AddOutputsToMap = True&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Does the job, shame to have to resort to the old library&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Nov 2013 15:48:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/pause-map-refresh-using-python-code/m-p/121611#M9492</guid>
      <dc:creator>EssamElhalhuli</dc:creator>
      <dc:date>2013-11-01T15:48:08Z</dc:date>
    </item>
    <item>
      <title>Re: Pause Map refresh using python code</title>
      <link>https://community.esri.com/t5/python-questions/pause-map-refresh-using-python-code/m-p/121612#M9493</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;The best option I have found so far is to use arcgisscripting.&lt;BR /&gt;&lt;BR /&gt;Using before the intermediate creations:&lt;BR /&gt;gp = arcgisscripting.create()&lt;BR /&gt;gp.AddOutputsToMap = False&lt;BR /&gt;&lt;BR /&gt;Then before the final featureclass:&lt;BR /&gt;gp.AddOutputsToMap = True&lt;BR /&gt;&lt;BR /&gt;Does the job, shame to have to resort to the old library&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If you are in ArcMap and hit the pause button in the lower left corner, can you still run the tool?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;... or ...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;have you tried to change the environment setting?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.1/index.html#//018z0000004s000000"&gt;arcpy.env.addOutputsToMap&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- Russell&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Nov 2013 18:35:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/pause-map-refresh-using-python-code/m-p/121612#M9493</guid>
      <dc:creator>DouglasSands</dc:creator>
      <dc:date>2013-11-01T18:35:38Z</dc:date>
    </item>
    <item>
      <title>Re: Pause Map refresh using python code</title>
      <link>https://community.esri.com/t5/python-questions/pause-map-refresh-using-python-code/m-p/121613#M9494</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;If you are in ArcMap and hit the pause button in the lower left corner, can you still run the tool?&lt;BR /&gt;&lt;BR /&gt;... or ...&lt;BR /&gt;&lt;BR /&gt;have you tried to change the environment setting?&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.1/index.html#//018z0000004s000000"&gt;arcpy.env.addOutputsToMap&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;- Russell&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;arcpy.env.addOutputsToMap does the trick !!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for your help&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Nov 2013 07:24:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/pause-map-refresh-using-python-code/m-p/121613#M9494</guid>
      <dc:creator>EssamElhalhuli</dc:creator>
      <dc:date>2013-11-04T07:24:17Z</dc:date>
    </item>
    <item>
      <title>Re: Pause Map refresh using python code</title>
      <link>https://community.esri.com/t5/python-questions/pause-map-refresh-using-python-code/m-p/121614#M9495</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Just asked about this in a support ticket last week. There isn't currently a way to pause drawing using python. Someone has posted an Idea to add the functionality though, which I would encourage people to vote for: &lt;/SPAN&gt;&lt;A href="http://ideas.arcgis.com/ideaView?id=087E00000004bUpIAI"&gt;http://ideas.arcgis.com/ideaView?id=087E00000004bUpIAI&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Nov 2013 16:06:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/pause-map-refresh-using-python-code/m-p/121614#M9495</guid>
      <dc:creator>MattSayler</dc:creator>
      <dc:date>2013-11-04T16:06:15Z</dc:date>
    </item>
  </channel>
</rss>

