<?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: Adding python tool output to arcmap automatically when analysis is complete in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/adding-python-tool-output-to-arcmap-automatically/m-p/100170#M7757</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;If you want to add the layer to the map and show up instantly (while the map is open) then you can create a script tool with the code as the source of the tool. I've attached a tool with the script.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Open the map document you want to add layer. From the catalog window browse to the location where you unpacked the zip file. Double click on the toolbox named AddLayerToMap - you'll see a tool named AddLayerTool. Open the tool by double-clicking on it. The tool dialog is simple - it asks for a layer. The type of acceptable input is a feature class, a map layer or a layer file (.lyr). &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[ATTACH=CONFIG]15360[/ATTACH]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Drag-drop any input and hit 'OK'. If everything goes okay then you'll see the layer added to the first data frame.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 20 Jun 2012 16:03:45 GMT</pubDate>
    <dc:creator>NobbirAhmed</dc:creator>
    <dc:date>2012-06-20T16:03:45Z</dc:date>
    <item>
      <title>Adding python tool output to arcmap automatically when analysis is complete</title>
      <link>https://community.esri.com/t5/python-questions/adding-python-tool-output-to-arcmap-automatically/m-p/100162#M7749</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Greeting all...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've written a python scrip that is run in arctool box given user specified inputs... at this point the tool works but I would like to have the tool automatically &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;add the resulting output datasets to the ArcMap table of contents. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've tried a few variation of the following code... keep getting the same error... see below. I think it all goes back to this line of code where its not recognizing which dataset to add to the map. Any help is appreciated. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Code... &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;mxd = arcpy.mapping.MapDocument(r"D:\Risk_Models\Sample_Design\sample_design_tool.mxd")&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;df = arcpy.mapping.ListDataFrames(mxd, "*")[0]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;print "ready to add layer"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;print sample_plots&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;newlayer1 = arcpy.mapping.Layer(r"D:\Risk_Models\Sample_Design\Sample_design_tool\sample_design_tool.gdb\state_GA")&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;#newlayer2 = arcpy.mapping.Layer(sample_points)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;print newlayer1&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;arcpy.mapping.AddLayer(df, newlayer1, "TOP")&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;#arcpy.mapping.AddLayer(df, newlayer2, "Bottom")&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;arcpy.RefreshActiveView()&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;arpy.RefreshTOC()&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;del mxd, df, newlayer1&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;end code&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Error... reported in python&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Traceback (most recent call last):&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; File "C:\Python26\ArcGIS10.0\Lib\site-packages\Pythonwin\pywin\framework\scriptutils.py", line 326, in RunScript&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; exec codeObject in __main__.__dict__&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; File "D:\Risk_Models\Sample_Design\Sample_design_tool\FHTET_Sample_Design_Tool\FHTET_sample_design_tool_6_18_2012_add_data_update_test.py", line 94, in &amp;lt;module&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; newlayer1 = arcpy.mapping.Layer(r"D:\Risk_Models\Sample_Design\Sample_design_tool\sample_design_tool.gdb\state_GA")&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; File "C:\Program Files\ArcGIS\Desktop10.0\arcpy\arcpy\arcobjects\mixins.py", line 255, in __init__&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; super(LayerMixin, self).__init__(lyrfile)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; File "C:\Program Files\ArcGIS\Desktop10.0\arcpy\arcpy\arcobjects\_base.py", line 47, in __init__&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; for arg in args))&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ValueError: Object: CreateObject Layer invalid data source&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Jun 2012 19:13:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/adding-python-tool-output-to-arcmap-automatically/m-p/100162#M7749</guid>
      <dc:creator>IanLeinwand</dc:creator>
      <dc:date>2012-06-18T19:13:54Z</dc:date>
    </item>
    <item>
      <title>Re: Adding python tool output to arcmap automatically when analysis is complete</title>
      <link>https://community.esri.com/t5/python-questions/adding-python-tool-output-to-arcmap-automatically/m-p/100163#M7750</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I created a script with your code and it is working.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What is the data type of "state_GA"? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you want to persist the added new layer (after you get over the exception) to the map, use mxd.save() before del statement.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Note: don't forget to enclose your code with CODE tabs - click on the '#' button above and paste your code insde the tags.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Jun 2012 23:13:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/adding-python-tool-output-to-arcmap-automatically/m-p/100163#M7750</guid>
      <dc:creator>NobbirAhmed</dc:creator>
      <dc:date>2012-06-18T23:13:20Z</dc:date>
    </item>
    <item>
      <title>Re: Adding python tool output to arcmap automatically when analysis is complete</title>
      <link>https://community.esri.com/t5/python-questions/adding-python-tool-output-to-arcmap-automatically/m-p/100164#M7751</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;hmm... &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;State_GA is&amp;nbsp; a feature class in a geodatabase. Would you mind posting the code you got to work? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ian&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Jun 2012 13:27:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/adding-python-tool-output-to-arcmap-automatically/m-p/100164#M7751</guid>
      <dc:creator>IanLeinwand</dc:creator>
      <dc:date>2012-06-19T13:27:18Z</dc:date>
    </item>
    <item>
      <title>Re: Adding python tool output to arcmap automatically when analysis is complete</title>
      <link>https://community.esri.com/t5/python-questions/adding-python-tool-output-to-arcmap-automatically/m-p/100165#M7752</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Here is my code:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;import arcpy

try:

&amp;nbsp;&amp;nbsp;&amp;nbsp; mxd = arcpy.mapping.MapDocument(r"C:\temp\mymap.mxd")

&amp;nbsp;&amp;nbsp;&amp;nbsp; df = arcpy.mapping.ListDataFrames(mxd)[0]
&amp;nbsp;&amp;nbsp;&amp;nbsp; 

&amp;nbsp;&amp;nbsp;&amp;nbsp; newlayer1 = arcpy.mapping.Layer(r"C:\data\redlands.gdb\rdls_street")
&amp;nbsp;&amp;nbsp;&amp;nbsp; print newlayer1
&amp;nbsp;&amp;nbsp;&amp;nbsp; arcpy.mapping.AddLayer(df, newlayer1, "TOP")
&amp;nbsp;&amp;nbsp;&amp;nbsp; 

&amp;nbsp;&amp;nbsp;&amp;nbsp; arcpy.RefreshActiveView()
&amp;nbsp;&amp;nbsp;&amp;nbsp; arcpy.RefreshTOC()

&amp;nbsp;&amp;nbsp;&amp;nbsp; # save the map to persist the added layer
&amp;nbsp;&amp;nbsp;&amp;nbsp; mxd.save()

&amp;nbsp;&amp;nbsp;&amp;nbsp; del mxd, df, newlayer1
&amp;nbsp;&amp;nbsp;&amp;nbsp; print 'Done'&amp;nbsp;&amp;nbsp;&amp;nbsp; 

except Exception as ex:
&amp;nbsp;&amp;nbsp;&amp;nbsp; print ex.args[0]
&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Which version of ArcGIS (service pack) you are using?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 06:12:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/adding-python-tool-output-to-arcmap-automatically/m-p/100165#M7752</guid>
      <dc:creator>NobbirAhmed</dc:creator>
      <dc:date>2021-12-11T06:12:57Z</dc:date>
    </item>
    <item>
      <title>Re: Adding python tool output to arcmap automatically when analysis is complete</title>
      <link>https://community.esri.com/t5/python-questions/adding-python-tool-output-to-arcmap-automatically/m-p/100166#M7753</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm still gettin gthe CreateObject Layer invalid data source error. I used your code and just swithched out the path names for my mxd and files. I even tried&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;different .mxd docs and both a feature class and a shapefile as the layer source. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Not sure what else to do.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Jun 2012 16:33:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/adding-python-tool-output-to-arcmap-automatically/m-p/100166#M7753</guid>
      <dc:creator>IanLeinwand</dc:creator>
      <dc:date>2012-06-19T16:33:55Z</dc:date>
    </item>
    <item>
      <title>Re: Adding python tool output to arcmap automatically when analysis is complete</title>
      <link>https://community.esri.com/t5/python-questions/adding-python-tool-output-to-arcmap-automatically/m-p/100167#M7754</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Not sure what's going on. Try both of these:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Make a layer file of your data - in ArcMap, from Table of Content right-click on the layer and select Save Layer as. The file name will have a *.lyr extension.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Use the layerfile.lyr instead of a feature class.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;And enclose your code with try-except as in my sample. Write the except block as follows:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;except Exception as ex:
&amp;nbsp;&amp;nbsp;&amp;nbsp; print ex&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Let me what error message you get.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 06:12:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/adding-python-tool-output-to-arcmap-automatically/m-p/100167#M7754</guid>
      <dc:creator>NobbirAhmed</dc:creator>
      <dc:date>2021-12-11T06:12:59Z</dc:date>
    </item>
    <item>
      <title>Re: Adding python tool output to arcmap automatically when analysis is complete</title>
      <link>https://community.esri.com/t5/python-questions/adding-python-tool-output-to-arcmap-automatically/m-p/100168#M7755</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Psst! Nobbir, you forgot the "try:" in your previous example.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Ian, the only thing I can think of is that your path is wrong. Later on, there's a typo in your script ("arpy").&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Jun 2012 16:52:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/adding-python-tool-output-to-arcmap-automatically/m-p/100168#M7755</guid>
      <dc:creator>DarrenWiens2</dc:creator>
      <dc:date>2012-06-19T16:52:07Z</dc:date>
    </item>
    <item>
      <title>Re: Adding python tool output to arcmap automatically when analysis is complete</title>
      <link>https://community.esri.com/t5/python-questions/adding-python-tool-output-to-arcmap-automatically/m-p/100169#M7756</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Okay... not sure if I'm making progress or not... I've simplified the code to try to work out the bug. Here is what I'm working with now. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;import arcpy

try:
&amp;nbsp;&amp;nbsp;&amp;nbsp; mxd = arcpy.mapping.MapDocument(r"D:\Risk_Models\Multi_Species_Sampling\multi_species_overlay.mxd")

&amp;nbsp;&amp;nbsp;&amp;nbsp; df = arcpy.mapping.ListDataFrames(mxd)[0]
&amp;nbsp;&amp;nbsp;&amp;nbsp; 

&amp;nbsp;&amp;nbsp;&amp;nbsp; newlayer1 = arcpy.mapping.Layer("D:\\Risk_Models\\state_MN_5000_EAB_plots.lyr")
&amp;nbsp;&amp;nbsp;&amp;nbsp; print newlayer1
&amp;nbsp;&amp;nbsp;&amp;nbsp; arcpy.mapping.AddLayer(df, newlayer1, "TOP")
&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp; arcpy.RefreshActiveView()
&amp;nbsp;&amp;nbsp;&amp;nbsp; arcpy.RefreshTOC()

&amp;nbsp;&amp;nbsp;&amp;nbsp; #save the map to persist the added layer
&amp;nbsp;&amp;nbsp;&amp;nbsp; mxd.save()

&amp;nbsp;&amp;nbsp;&amp;nbsp; del mxd, df, newlayer1
&amp;nbsp;&amp;nbsp;&amp;nbsp; print 'Done'&amp;nbsp;&amp;nbsp;&amp;nbsp; 

except Exception as ex:
&amp;nbsp;&amp;nbsp;&amp;nbsp; print ex.args[0]&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now the code runs through the arcpy.mapping.Layer line and I do not get the invalid source error like before but the layer still does not add to the specified .mxd and then the new error say...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;that it is unable to save the map document. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have the .mxd open... does this matter. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Ideally I want the users of my tool to have the tool output automatically added to their map document once the tool finishes. Also when I use "CURRENT" for the map document rather than a path it doesn't work. So another question is how do I get it to dynamically recognize the map document the user has created. I don't have any control over what my users name their map documents or where they save them. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for all the help... &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Ian&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 06:13:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/adding-python-tool-output-to-arcmap-automatically/m-p/100169#M7756</guid>
      <dc:creator>IanLeinwand</dc:creator>
      <dc:date>2021-12-11T06:13:02Z</dc:date>
    </item>
    <item>
      <title>Re: Adding python tool output to arcmap automatically when analysis is complete</title>
      <link>https://community.esri.com/t5/python-questions/adding-python-tool-output-to-arcmap-automatically/m-p/100170#M7757</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;If you want to add the layer to the map and show up instantly (while the map is open) then you can create a script tool with the code as the source of the tool. I've attached a tool with the script.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Open the map document you want to add layer. From the catalog window browse to the location where you unpacked the zip file. Double click on the toolbox named AddLayerToMap - you'll see a tool named AddLayerTool. Open the tool by double-clicking on it. The tool dialog is simple - it asks for a layer. The type of acceptable input is a feature class, a map layer or a layer file (.lyr). &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[ATTACH=CONFIG]15360[/ATTACH]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Drag-drop any input and hit 'OK'. If everything goes okay then you'll see the layer added to the first data frame.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jun 2012 16:03:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/adding-python-tool-output-to-arcmap-automatically/m-p/100170#M7757</guid>
      <dc:creator>NobbirAhmed</dc:creator>
      <dc:date>2012-06-20T16:03:45Z</dc:date>
    </item>
    <item>
      <title>Re: Adding python tool output to arcmap automatically when analysis is complete</title>
      <link>https://community.esri.com/t5/python-questions/adding-python-tool-output-to-arcmap-automatically/m-p/100171#M7758</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I tried your tool... &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;when I selected a shape file or feature class... I got the invalid input source&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;when I tried it with a .lyr file the tool runs but nothing is added to the open map document&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I just went back and tried the tool a few more times and its almost like something is added and then immediately disappears. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I would give up on this endeavor at this point but my program manager wants the arctoolbox script I created to automatically add the output dataset to the users map once complete... at this point I feel its easier just to give direction on how to add the data in ArcMap.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jun 2012 18:05:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/adding-python-tool-output-to-arcmap-automatically/m-p/100171#M7758</guid>
      <dc:creator>IanLeinwand</dc:creator>
      <dc:date>2012-06-20T18:05:13Z</dc:date>
    </item>
    <item>
      <title>Re: Adding python tool output to arcmap automatically when analysis is complete</title>
      <link>https://community.esri.com/t5/python-questions/adding-python-tool-output-to-arcmap-automatically/m-p/100172#M7759</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm really sorry that nothing is working for you &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt; Which Service Pack you are using? I'm on 10 sp5. The tool is working as expected on my machine. Let me know if are on a different service pack - I'll try on that setup.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jun 2012 18:11:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/adding-python-tool-output-to-arcmap-automatically/m-p/100172#M7759</guid>
      <dc:creator>NobbirAhmed</dc:creator>
      <dc:date>2012-06-20T18:11:57Z</dc:date>
    </item>
    <item>
      <title>Re: Adding python tool output to arcmap automatically when analysis is complete</title>
      <link>https://community.esri.com/t5/python-questions/adding-python-tool-output-to-arcmap-automatically/m-p/100173#M7760</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I'm really sorry that nothing is working for you &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt; Which Service Pack you are using? I'm on 10 sp5. The tool is working as expected on my machine. Let me know if are on a different service pack - I'll try on that setup.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I updated my service pack to service pack 4 and now your tool and the script works. I've updated my tool and its running now.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for all the help... updating the service pack worked. Lesson learned... alway update the service pack... I didn't see a down load for service pack 5 it said it would be release in July...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;thanks &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;again&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Ian&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jun 2012 21:18:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/adding-python-tool-output-to-arcmap-automatically/m-p/100173#M7760</guid>
      <dc:creator>IanLeinwand</dc:creator>
      <dc:date>2012-06-20T21:18:37Z</dc:date>
    </item>
    <item>
      <title>Re: Adding python tool output to arcmap automatically when analysis is complete</title>
      <link>https://community.esri.com/t5/python-questions/adding-python-tool-output-to-arcmap-automatically/m-p/100174#M7761</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;If you have updated to sp4 please install this spatial join patch as well:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://resources.arcgis.com/content/patches-and-service-packs?fa=viewPatch&amp;amp;PID=160&amp;amp;MetaID=1857"&gt;http://resources.arcgis.com/content/patches-and-service-packs?fa=viewPatch&amp;amp;PID=160&amp;amp;MetaID=1857&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It fixes some defects introduced to spatial join field mapping in sp4. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Lesson learned: update only when your workflow breaks &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;* Please mark the thread 'answered'.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jun 2012 21:24:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/adding-python-tool-output-to-arcmap-automatically/m-p/100174#M7761</guid>
      <dc:creator>NobbirAhmed</dc:creator>
      <dc:date>2012-06-20T21:24:43Z</dc:date>
    </item>
  </channel>
</rss>

