<?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 blue outline on maps from arcpy.searchcursor in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/blue-outline-on-maps-from-arcpy-searchcursor/m-p/680636#M52748</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Perhaps this is really an Arcmap question, but I am using arcpy.searchcursor to find new records, perform a definition query on a polygon, and create maps from the polygon outline.&amp;nbsp; Everything works as intended except after the first map, subsequent maps have a polygon with the blue selection outline.&amp;nbsp; Ive tried a few things to eliminate this.&amp;nbsp; One workaround I have considered is creating a new layer from the definition query, and removing the old layer.&amp;nbsp; I have also changed the options in Arcmap to not use blue as a selection color. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I suppose this has something to do with the searchcursor, but I am not sure how to get around that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for looking&lt;/P&gt;&lt;P&gt;Paul Frank&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 04 Dec 2015 20:01:23 GMT</pubDate>
    <dc:creator>PaulFrank</dc:creator>
    <dc:date>2015-12-04T20:01:23Z</dc:date>
    <item>
      <title>blue outline on maps from arcpy.searchcursor</title>
      <link>https://community.esri.com/t5/python-questions/blue-outline-on-maps-from-arcpy-searchcursor/m-p/680636#M52748</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Perhaps this is really an Arcmap question, but I am using arcpy.searchcursor to find new records, perform a definition query on a polygon, and create maps from the polygon outline.&amp;nbsp; Everything works as intended except after the first map, subsequent maps have a polygon with the blue selection outline.&amp;nbsp; Ive tried a few things to eliminate this.&amp;nbsp; One workaround I have considered is creating a new layer from the definition query, and removing the old layer.&amp;nbsp; I have also changed the options in Arcmap to not use blue as a selection color. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I suppose this has something to do with the searchcursor, but I am not sure how to get around that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for looking&lt;/P&gt;&lt;P&gt;Paul Frank&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Dec 2015 20:01:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/blue-outline-on-maps-from-arcpy-searchcursor/m-p/680636#M52748</guid>
      <dc:creator>PaulFrank</dc:creator>
      <dc:date>2015-12-04T20:01:23Z</dc:date>
    </item>
    <item>
      <title>Re: blue outline on maps from arcpy.searchcursor</title>
      <link>https://community.esri.com/t5/python-questions/blue-outline-on-maps-from-arcpy-searchcursor/m-p/680637#M52749</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Without inspecting your script, have you run (or considered running) &lt;A href="http://resources.arcgis.com/en/help/main/10.1%20/index.html#/Select_Layer_By_Attribute/001700000071000000/"&gt;Select Layer By Attribute&lt;/A&gt;, specifying CLEAR_SELECTION as the selection method, to remove the selection from your layer?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Dec 2015 20:07:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/blue-outline-on-maps-from-arcpy-searchcursor/m-p/680637#M52749</guid>
      <dc:creator>DarrenWiens2</dc:creator>
      <dc:date>2015-12-04T20:07:21Z</dc:date>
    </item>
    <item>
      <title>Re: blue outline on maps from arcpy.searchcursor</title>
      <link>https://community.esri.com/t5/python-questions/blue-outline-on-maps-from-arcpy-searchcursor/m-p/680638#M52750</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Darren,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You helped me figure it out.&amp;nbsp; I did have the code you suggested but I got to thinking it still had something to do with the surchcursor.&amp;nbsp; It turns out I needed to move on to the next record before exporting the map, as opposed to after, which is how I had it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Dec 2015 21:53:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/blue-outline-on-maps-from-arcpy-searchcursor/m-p/680638#M52750</guid>
      <dc:creator>PaulFrank</dc:creator>
      <dc:date>2015-12-04T21:53:16Z</dc:date>
    </item>
    <item>
      <title>Re: blue outline on maps from arcpy.searchcursor</title>
      <link>https://community.esri.com/t5/python-questions/blue-outline-on-maps-from-arcpy-searchcursor/m-p/680639#M52751</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Glad you figured it out. As a postscript, if you're interested and using 10.1+ (I think), you may want to look into using &lt;A href="http://resources.arcgis.com/en/help/main/10.1%20/index.html#/SearchCursor/018w00000011000000/"&gt;arcpy.da.SearchCursor()&lt;/A&gt;. They're faster and don't require "nexting".&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Dec 2015 21:59:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/blue-outline-on-maps-from-arcpy-searchcursor/m-p/680639#M52751</guid>
      <dc:creator>DarrenWiens2</dc:creator>
      <dc:date>2015-12-04T21:59:02Z</dc:date>
    </item>
    <item>
      <title>Re: blue outline on maps from arcpy.searchcursor</title>
      <link>https://community.esri.com/t5/python-questions/blue-outline-on-maps-from-arcpy-searchcursor/m-p/680640#M52752</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Darren,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I think you were correct the first time.&amp;nbsp; I ran it again and my fix didn't work.&amp;nbsp; So then I looked at it again, and I am using 2 versions of the same layer in this mxd, so I went back and added your code to the other layer, and everything looks correct now.&amp;nbsp; I am still a little foggy on what is going on but it seems to work.&amp;nbsp; Again, thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Dec 2015 22:08:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/blue-outline-on-maps-from-arcpy-searchcursor/m-p/680640#M52752</guid>
      <dc:creator>PaulFrank</dc:creator>
      <dc:date>2015-12-04T22:08:55Z</dc:date>
    </item>
  </channel>
</rss>

