<?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 Make Feature Layer within a model does not add the layer in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/make-feature-layer-within-a-model-does-not-add-the/m-p/1057796#M40905</link>
    <description>&lt;P&gt;If I run&amp;nbsp;&lt;EM&gt;Make Feature Layer&lt;/EM&gt; as a tool, the new layer is added to my map. If I put the tool in a model and run the model ('Add to Display' is selected), The layer never appears.&lt;/P&gt;&lt;P&gt;If I open the model and run it, the layer is added to the map, but they are in an awkward group called 'ModelBuilder' and have a prefix I don't want them to have.&lt;/P&gt;&lt;P&gt;I would like to run the model as a tool and when I do that, nothing gets added to the map.&lt;/P&gt;&lt;P&gt;Is there something I can do to make the created layers visible?&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Randy McGregor&lt;/P&gt;</description>
    <pubDate>Thu, 13 May 2021 20:15:01 GMT</pubDate>
    <dc:creator>RandyMcGregor3</dc:creator>
    <dc:date>2021-05-13T20:15:01Z</dc:date>
    <item>
      <title>Make Feature Layer within a model does not add the layer</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/make-feature-layer-within-a-model-does-not-add-the/m-p/1057796#M40905</link>
      <description>&lt;P&gt;If I run&amp;nbsp;&lt;EM&gt;Make Feature Layer&lt;/EM&gt; as a tool, the new layer is added to my map. If I put the tool in a model and run the model ('Add to Display' is selected), The layer never appears.&lt;/P&gt;&lt;P&gt;If I open the model and run it, the layer is added to the map, but they are in an awkward group called 'ModelBuilder' and have a prefix I don't want them to have.&lt;/P&gt;&lt;P&gt;I would like to run the model as a tool and when I do that, nothing gets added to the map.&lt;/P&gt;&lt;P&gt;Is there something I can do to make the created layers visible?&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Randy McGregor&lt;/P&gt;</description>
      <pubDate>Thu, 13 May 2021 20:15:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/make-feature-layer-within-a-model-does-not-add-the/m-p/1057796#M40905</guid>
      <dc:creator>RandyMcGregor3</dc:creator>
      <dc:date>2021-05-13T20:15:01Z</dc:date>
    </item>
    <item>
      <title>Re: Make Feature Layer within a model does not add the layer</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/make-feature-layer-within-a-model-does-not-add-the/m-p/1057809#M40907</link>
      <description>&lt;P&gt;Please set the output as a &lt;STRONG&gt;Model Parameter&lt;/STRONG&gt; as well.&lt;/P&gt;&lt;P&gt;As per&amp;nbsp;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/help/analysis/geoprocessing/modelbuilder/run-a-model.htm" target="_self"&gt;Run a model&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Note:&lt;/STRONG&gt;&lt;BR /&gt;&lt;EM&gt;After the model tool runs successfully, only model outputs set as model parameters are added to the map.&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 13 May 2021 20:38:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/make-feature-layer-within-a-model-does-not-add-the/m-p/1057809#M40907</guid>
      <dc:creator>JayantaPoddar</dc:creator>
      <dc:date>2021-05-13T20:38:04Z</dc:date>
    </item>
    <item>
      <title>Re: Make Feature Layer within a model does not add the layer</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/make-feature-layer-within-a-model-does-not-add-the/m-p/1058085#M40930</link>
      <description>&lt;P&gt;Excellent advice. I appreciate it. I have found it works maddeningly inconsistently, though. The model has an iterator, and I think that may introduce a wrinkle.&lt;/P&gt;&lt;P&gt;I want to create a&amp;nbsp; selection layer for each value in a field. Once, the first value appeared then disappeared when the model was done. Another time, only the final value appeared, but it did stay.&lt;/P&gt;&lt;P&gt;I fear the iterator may introduce complications to this?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RandyMcGregor3_0-1621009828519.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/13353iD32DE5761BA9E6EA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="RandyMcGregor3_0-1621009828519.png" alt="RandyMcGregor3_0-1621009828519.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 14 May 2021 16:30:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/make-feature-layer-within-a-model-does-not-add-the/m-p/1058085#M40930</guid>
      <dc:creator>RandyMcGregor3</dc:creator>
      <dc:date>2021-05-14T16:30:34Z</dc:date>
    </item>
    <item>
      <title>Re: Make Feature Layer within a model does not add the layer</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/make-feature-layer-within-a-model-does-not-add-the/m-p/1058100#M40933</link>
      <description>&lt;P&gt;Good to know. Could you also try using &lt;A href="https://pro.arcgis.com/en/pro-app/latest/help/analysis/geoprocessing/modelbuilder/inline-variable-substitution.htm" target="_self"&gt;inline substitution&lt;/A&gt; for the output layer name?&lt;/P&gt;</description>
      <pubDate>Fri, 14 May 2021 16:53:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/make-feature-layer-within-a-model-does-not-add-the/m-p/1058100#M40933</guid>
      <dc:creator>JayantaPoddar</dc:creator>
      <dc:date>2021-05-14T16:53:42Z</dc:date>
    </item>
    <item>
      <title>Re: Make Feature Layer within a model does not add the layer</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/make-feature-layer-within-a-model-does-not-add-the/m-p/1058102#M40934</link>
      <description>&lt;P&gt;Like this?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RandyMcGregor3_0-1621011396450.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/13357iEF37ADB3FA9EA604/image-size/medium?v=v2&amp;amp;px=400" role="button" title="RandyMcGregor3_0-1621011396450.png" alt="RandyMcGregor3_0-1621011396450.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Doesn't work :(. I did remove the iterator and the one output layer was added, so I think I've hit a snag with the iterator. Thank you very much for your help here!&lt;/P&gt;&lt;P&gt;Randy McGregor&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 14 May 2021 16:58:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/make-feature-layer-within-a-model-does-not-add-the/m-p/1058102#M40934</guid>
      <dc:creator>RandyMcGregor3</dc:creator>
      <dc:date>2021-05-14T16:58:43Z</dc:date>
    </item>
    <item>
      <title>Re: Make Feature Layer within a model does not add the layer</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/make-feature-layer-within-a-model-does-not-add-the/m-p/1058108#M40936</link>
      <description>&lt;P&gt;I added a 'Save to Layer File' tool and that does create a *.lyrx file for each unique value. The model will not add&amp;nbsp;&lt;EM&gt;those&amp;nbsp;&lt;/EM&gt;into the map either, but it does create something I can see and work with after the model has run.&lt;/P&gt;&lt;P&gt;Loading feature layers created within a model or a script into the TOC has always been difficult. I have an old python script that does it and it's got a LOT of steps.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 14 May 2021 17:21:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/make-feature-layer-within-a-model-does-not-add-the/m-p/1058108#M40936</guid>
      <dc:creator>RandyMcGregor3</dc:creator>
      <dc:date>2021-05-14T17:21:42Z</dc:date>
    </item>
    <item>
      <title>Re: Make Feature Layer within a model does not add the layer</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/make-feature-layer-within-a-model-does-not-add-the/m-p/1058110#M40937</link>
      <description>&lt;P&gt;Don't rename the Value. Rename the output layer in &lt;STRONG&gt;Make Feature Layer&lt;/STRONG&gt; tool.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JayantaPoddar_0-1621012831576.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/13358iEBE324056B2C06E0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JayantaPoddar_0-1621012831576.png" alt="JayantaPoddar_0-1621012831576.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JayantaPoddar_1-1621012936751.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/13359iB327D4CB960CB271/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JayantaPoddar_1-1621012936751.png" alt="JayantaPoddar_1-1621012936751.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 14 May 2021 17:22:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/make-feature-layer-within-a-model-does-not-add-the/m-p/1058110#M40937</guid>
      <dc:creator>JayantaPoddar</dc:creator>
      <dc:date>2021-05-14T17:22:28Z</dc:date>
    </item>
    <item>
      <title>Re: Make Feature Layer within a model does not add the layer</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/make-feature-layer-within-a-model-does-not-add-the/m-p/1058111#M40938</link>
      <description>&lt;P&gt;I appreciate your willingness to work through this. This is pretty much what I have been doing. I can get them to add to the TOC from within model in a 'ModelBuilder' group like you show here, when I open the model and run it, but not when run as a tool.&lt;/P&gt;</description>
      <pubDate>Fri, 14 May 2021 17:28:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/make-feature-layer-within-a-model-does-not-add-the/m-p/1058111#M40938</guid>
      <dc:creator>RandyMcGregor3</dc:creator>
      <dc:date>2021-05-14T17:28:30Z</dc:date>
    </item>
    <item>
      <title>Re: Make Feature Layer within a model does not add the layer</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/make-feature-layer-within-a-model-does-not-add-the/m-p/1058115#M40940</link>
      <description>&lt;P&gt;Just a query.&lt;/P&gt;&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/tool-reference/analysis/split-by-attributes.htm" target="_self"&gt;Split by Attribute&lt;/A&gt;&amp;nbsp;tool also generates similar outputs that you are trying to achieve. Any particular reason why you are creating a model for this?&lt;/P&gt;</description>
      <pubDate>Fri, 14 May 2021 17:48:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/make-feature-layer-within-a-model-does-not-add-the/m-p/1058115#M40940</guid>
      <dc:creator>JayantaPoddar</dc:creator>
      <dc:date>2021-05-14T17:48:08Z</dc:date>
    </item>
    <item>
      <title>Re: Make Feature Layer within a model does not add the layer</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/make-feature-layer-within-a-model-does-not-add-the/m-p/1058126#M40942</link>
      <description>&lt;P&gt;If I run the iterator first, so that it is 'stuck' on the final value it calculated and only processes that one, it will add the inputs to the map. If I reset the iterator so that it cycles through all the values, it will not add the layers to the map.&lt;/P&gt;</description>
      <pubDate>Fri, 14 May 2021 18:36:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/make-feature-layer-within-a-model-does-not-add-the/m-p/1058126#M40942</guid>
      <dc:creator>RandyMcGregor3</dc:creator>
      <dc:date>2021-05-14T18:36:40Z</dc:date>
    </item>
    <item>
      <title>Re: Make Feature Layer within a model does not add the layer</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/make-feature-layer-within-a-model-does-not-add-the/m-p/1058156#M40949</link>
      <description>&lt;P&gt;I believe it is by design, that a geoprocessing tool will not "add to display" when the multiple outputs are expected for a single variable.&amp;nbsp;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/tool-reference/analysis/split-by-attributes.htm" target="_self"&gt;Split by Attributes&lt;/A&gt;&amp;nbsp;GP tool is an example.&lt;/P&gt;&lt;P&gt;You could add a "Save to Layer File", save the layers inside a predefined workspace. Then Add the layers using Add Data option.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JayantaPoddar_0-1621021435133.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/13370i7F29263289BA0E4A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JayantaPoddar_0-1621021435133.png" alt="JayantaPoddar_0-1621021435133.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 14 May 2021 19:45:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/make-feature-layer-within-a-model-does-not-add-the/m-p/1058156#M40949</guid>
      <dc:creator>JayantaPoddar</dc:creator>
      <dc:date>2021-05-14T19:45:29Z</dc:date>
    </item>
    <item>
      <title>Re: Make Feature Layer within a model does not add the layer</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/make-feature-layer-within-a-model-does-not-add-the/m-p/1058164#M40950</link>
      <description>&lt;P&gt;I am trying to avoid creating separate feature classes. I might end up going with that tool if creating separate layers can't be done in a way that is useful.&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;Randy&lt;/P&gt;</description>
      <pubDate>Fri, 14 May 2021 20:09:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/make-feature-layer-within-a-model-does-not-add-the/m-p/1058164#M40950</guid>
      <dc:creator>RandyMcGregor3</dc:creator>
      <dc:date>2021-05-14T20:09:54Z</dc:date>
    </item>
    <item>
      <title>Re: Make Feature Layer within a model does not add the layer</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/make-feature-layer-within-a-model-does-not-add-the/m-p/1058167#M40951</link>
      <description>&lt;P&gt;That is what I did, but I had to add the layers after. Is there an 'Add Data' tool? I haven't seen one. Thank you!&lt;/P&gt;</description>
      <pubDate>Fri, 14 May 2021 20:12:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/make-feature-layer-within-a-model-does-not-add-the/m-p/1058167#M40951</guid>
      <dc:creator>RandyMcGregor3</dc:creator>
      <dc:date>2021-05-14T20:12:30Z</dc:date>
    </item>
    <item>
      <title>Re: Make Feature Layer within a model does not add the layer</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/make-feature-layer-within-a-model-does-not-add-the/m-p/1058184#M40952</link>
      <description>&lt;P&gt;Not a GP tool, but the one in the ribbon (Add Manually).&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JayantaPoddar_0-1621025169312.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/13376iA5AD3FA1DA95B764/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JayantaPoddar_0-1621025169312.png" alt="JayantaPoddar_0-1621025169312.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 14 May 2021 20:46:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/make-feature-layer-within-a-model-does-not-add-the/m-p/1058184#M40952</guid>
      <dc:creator>JayantaPoddar</dc:creator>
      <dc:date>2021-05-14T20:46:55Z</dc:date>
    </item>
    <item>
      <title>Re: Make Feature Layer within a model does not add the layer</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/make-feature-layer-within-a-model-does-not-add-the/m-p/1058260#M40960</link>
      <description>&lt;P&gt;Got it. Thank you very much.&lt;/P&gt;</description>
      <pubDate>Sat, 15 May 2021 00:22:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/make-feature-layer-within-a-model-does-not-add-the/m-p/1058260#M40960</guid>
      <dc:creator>RandyMcGregor3</dc:creator>
      <dc:date>2021-05-15T00:22:07Z</dc:date>
    </item>
    <item>
      <title>Re: Make Feature Layer within a model does not add the layer</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/make-feature-layer-within-a-model-does-not-add-the/m-p/1080927#M43508</link>
      <description>&lt;P&gt;So, is this actually solved if there is no way to "Add Data" dynamically? Is the answer that "It is not possible to add the layers to the TOC when running the model as a GP tool"? I have a raster model that I would like to add the output of "Make Raster Layer" following an "Iterate Raster" function, and I cannot find a way to make it work. Any help would be appreciated.&lt;/P&gt;</description>
      <pubDate>Tue, 20 Jul 2021 16:52:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/make-feature-layer-within-a-model-does-not-add-the/m-p/1080927#M43508</guid>
      <dc:creator>PhilipMarty</dc:creator>
      <dc:date>2021-07-20T16:52:52Z</dc:date>
    </item>
    <item>
      <title>Re: Make Feature Layer within a model does not add the layer</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/make-feature-layer-within-a-model-does-not-add-the/m-p/1081271#M43562</link>
      <description>&lt;P&gt;I view, 'Solved' as, 'The question has been answered.' I don't like calling it 'Solved,' but people who answer the question deserve credit.&lt;/P&gt;&lt;P&gt;The difficulty in adding layers to the TOC when using an iterator is a frustrating limitation of the software, I agree.&lt;/P&gt;</description>
      <pubDate>Wed, 21 Jul 2021 13:19:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/make-feature-layer-within-a-model-does-not-add-the/m-p/1081271#M43562</guid>
      <dc:creator>RandyMcGregor3</dc:creator>
      <dc:date>2021-07-21T13:19:42Z</dc:date>
    </item>
    <item>
      <title>Re: Make Feature Layer within a model does not add the layer</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/make-feature-layer-within-a-model-does-not-add-the/m-p/1081294#M43564</link>
      <description>&lt;P&gt;I appreciate the explanation. I totally agree it's sort of a shocking limitation of the software that adding model outputs from the GP window or ArcPy doesn't work better. Is there any alternative workflow? I have a very basic iterate raster, apply symbology, add to map model that I'm trying to add to an ArcPy script, so just curious if there's anything out there before I go down re-creating from scratch in python.&lt;/P&gt;</description>
      <pubDate>Wed, 21 Jul 2021 13:47:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/make-feature-layer-within-a-model-does-not-add-the/m-p/1081294#M43564</guid>
      <dc:creator>PhilipMarty</dc:creator>
      <dc:date>2021-07-21T13:47:46Z</dc:date>
    </item>
    <item>
      <title>Re: Make Feature Layer within a model does not add the layer</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/make-feature-layer-within-a-model-does-not-add-the/m-p/1081310#M43569</link>
      <description>&lt;P&gt;You can add layers via arcpy but it's more complicated than it seems like it should be. I don't have examples handy. I'll check and send you some if I find some. If you google 'Load layers into TOC with arcpy' you'll get some examples I think. Several steps are involved and it's a bit hairy.&lt;/P&gt;</description>
      <pubDate>Wed, 21 Jul 2021 14:12:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/make-feature-layer-within-a-model-does-not-add-the/m-p/1081310#M43569</guid>
      <dc:creator>RandyMcGregor3</dc:creator>
      <dc:date>2021-07-21T14:12:42Z</dc:date>
    </item>
    <item>
      <title>Re: Make Feature Layer within a model does not add the layer</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/make-feature-layer-within-a-model-does-not-add-the/m-p/1081311#M43570</link>
      <description>&lt;P&gt;'Layer' means many things in ArcGIS &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Jul 2021 14:05:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/make-feature-layer-within-a-model-does-not-add-the/m-p/1081311#M43570</guid>
      <dc:creator>RandyMcGregor3</dc:creator>
      <dc:date>2021-07-21T14:05:29Z</dc:date>
    </item>
  </channel>
</rss>

