<?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 ModelBuilder Adds Intermediate Variable to Map, Not Final Output Shapefile in Mapping Questions</title>
    <link>https://community.esri.com/t5/mapping-questions/modelbuilder-adds-intermediate-variable-to-map-not/m-p/547280#M5918</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have created a tool using ArcGIS ModelBuilder (v9.3) that imports an Excel worksheet, creates an XY Layer, then converts it to a shapefile. The idea is that the tool then adds the final shapefile to the map. However, it keeps adding the temporary XY Layer file to the map, rather than the final output.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Does anyone know why this might be? I've tried both setting the XY Layer as a model parameter, and leaving it as intermediate. Having it as a parameter is useful, as it then allows me to specify a file name as part of the model. Also, the model seems to think that my 'Output Data' file is a folder, despite the 'Feature Class to Shapefile' converter already having a data workspace assigned (see attached JPG). I have also attached the tool as a Python script, should that shed some light. Note that 'server location' would normally be replaced by a valid file / folder path.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any help is greatly appreciated!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 14 May 2012 14:16:01 GMT</pubDate>
    <dc:creator>JackPitts</dc:creator>
    <dc:date>2012-05-14T14:16:01Z</dc:date>
    <item>
      <title>ModelBuilder Adds Intermediate Variable to Map, Not Final Output Shapefile</title>
      <link>https://community.esri.com/t5/mapping-questions/modelbuilder-adds-intermediate-variable-to-map-not/m-p/547280#M5918</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have created a tool using ArcGIS ModelBuilder (v9.3) that imports an Excel worksheet, creates an XY Layer, then converts it to a shapefile. The idea is that the tool then adds the final shapefile to the map. However, it keeps adding the temporary XY Layer file to the map, rather than the final output.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Does anyone know why this might be? I've tried both setting the XY Layer as a model parameter, and leaving it as intermediate. Having it as a parameter is useful, as it then allows me to specify a file name as part of the model. Also, the model seems to think that my 'Output Data' file is a folder, despite the 'Feature Class to Shapefile' converter already having a data workspace assigned (see attached JPG). I have also attached the tool as a Python script, should that shed some light. Note that 'server location' would normally be replaced by a valid file / folder path.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any help is greatly appreciated!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 May 2012 14:16:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/mapping-questions/modelbuilder-adds-intermediate-variable-to-map-not/m-p/547280#M5918</guid>
      <dc:creator>JackPitts</dc:creator>
      <dc:date>2012-05-14T14:16:01Z</dc:date>
    </item>
    <item>
      <title>Re: ModelBuilder Adds Intermediate Variable to Map, Not Final Output Shapefile</title>
      <link>https://community.esri.com/t5/mapping-questions/modelbuilder-adds-intermediate-variable-to-map-not/m-p/547281#M5919</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Original User: jbarrette&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you don't get a response soon, you may want to try the geoprocessing forum.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Jeff&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 May 2012 14:56:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/mapping-questions/modelbuilder-adds-intermediate-variable-to-map-not/m-p/547281#M5919</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2012-05-15T14:56:55Z</dc:date>
    </item>
    <item>
      <title>Re: ModelBuilder Adds Intermediate Variable to Map, Not Final Output Shapefile</title>
      <link>https://community.esri.com/t5/mapping-questions/modelbuilder-adds-intermediate-variable-to-map-not/m-p/547282#M5920</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Feature Class To Shapefile is a script tool. Maybe it's the cause it doesn't add produces Shp to display?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As an alternative I managed to create model which create Shp and add it to display:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[ATTACH=CONFIG]14354[/ATTACH]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;XY Event Layer is ticked as Intermediate&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;A default output from Copy Features is feature class, but I noticed that when extension '.shp' is added, a shapefile is created.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[ATTACH=CONFIG]14355[/ATTACH]&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 May 2012 11:55:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/mapping-questions/modelbuilder-adds-intermediate-variable-to-map-not/m-p/547282#M5920</guid>
      <dc:creator>MarcinGasior</dc:creator>
      <dc:date>2012-05-16T11:55:07Z</dc:date>
    </item>
    <item>
      <title>Re: ModelBuilder Adds Intermediate Variable to Map, Not Final Output Shapefile</title>
      <link>https://community.esri.com/t5/mapping-questions/modelbuilder-adds-intermediate-variable-to-map-not/m-p/547283#M5921</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Original User: bonze89&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi Marcin,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;That's working really well - thank you!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 May 2012 14:01:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/mapping-questions/modelbuilder-adds-intermediate-variable-to-map-not/m-p/547283#M5921</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2012-05-16T14:01:48Z</dc:date>
    </item>
  </channel>
</rss>

