<?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: Inline variable substitution in ModelBuilder with submodel in ModelBuilder Questions</title>
    <link>https://community.esri.com/t5/modelbuilder-questions/inline-variable-substitution-in-modelbuilder-with/m-p/854784#M1366</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I solved this problem by designating the Name_wl variable as a parameter within the submodel.&amp;nbsp; Then within the main model, I right-clicked on the submodel and chose &lt;STRONG&gt;Make Variable | From Parameter | Names_wl.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 06 Feb 2019 17:56:55 GMT</pubDate>
    <dc:creator>RebeccaFuda</dc:creator>
    <dc:date>2019-02-06T17:56:55Z</dc:date>
    <item>
      <title>Inline variable substitution in ModelBuilder with submodel</title>
      <link>https://community.esri.com/t5/modelbuilder-questions/inline-variable-substitution-in-modelbuilder-with/m-p/854783#M1365</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a model that uses two iterators, and so I am using&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="http://desktop.arcgis.com/en/arcmap/10.3/analyze/modelbuilder/integrating-model-within-a-model.htm" style="color: #2989c5; text-decoration: none;"&gt;submodels&lt;/A&gt;.&amp;nbsp; However, I am having trouble getting my main model to recognize inline variable substitution for a variable from the submodel.&amp;nbsp; When running the intersect tool after running the submodel, I get the following error:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Executing (Intersect): Intersect "E:\BFuda\GIS_Data\Properties_For_Sale\overlap_layers\sg_cor.shp #;E:\BFuda\GIS_Data\Properties_For_Sale\parcels_final\analind.shp #" E:\BFuda\GIS_Data\Default.gdb\%Name_wl% ONLY_FID # INPUT&lt;BR /&gt;Start Time: Wed Feb 06 10:12:37 2019&lt;BR /&gt;ERROR 000210: Cannot create output E:\BFuda\GIS_Data\Default.gdb\%Name_wl%&lt;BR /&gt;The table was not found. [%Name_wl%]&lt;BR /&gt;Failed to execute (Intersect).&lt;BR /&gt;Failed at Wed Feb 06 10:12:38 2019 (Elapsed Time: 1.35 seconds)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The model and submodel are shown below:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/436648_models.JPG" style="border: 0px; margin: 2px 0px 0px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The inputs for the Intersect tool are shown as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-2 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/436664_intersect.JPG" style="border: 0px; margin: 2px 0px 0px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Feb 2019 17:19:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-questions/inline-variable-substitution-in-modelbuilder-with/m-p/854783#M1365</guid>
      <dc:creator>RebeccaFuda</dc:creator>
      <dc:date>2019-02-06T17:19:52Z</dc:date>
    </item>
    <item>
      <title>Re: Inline variable substitution in ModelBuilder with submodel</title>
      <link>https://community.esri.com/t5/modelbuilder-questions/inline-variable-substitution-in-modelbuilder-with/m-p/854784#M1366</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I solved this problem by designating the Name_wl variable as a parameter within the submodel.&amp;nbsp; Then within the main model, I right-clicked on the submodel and chose &lt;STRONG&gt;Make Variable | From Parameter | Names_wl.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Feb 2019 17:56:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-questions/inline-variable-substitution-in-modelbuilder-with/m-p/854784#M1366</guid>
      <dc:creator>RebeccaFuda</dc:creator>
      <dc:date>2019-02-06T17:56:55Z</dc:date>
    </item>
    <item>
      <title>Re: Inline variable substitution in ModelBuilder with submodel</title>
      <link>https://community.esri.com/t5/modelbuilder-questions/inline-variable-substitution-in-modelbuilder-with/m-p/1514320#M4009</link>
      <description>&lt;P&gt;I'm using a ModelBuilder to select Multiple values from a layer and it is not working. It only works when I select a single value. What am I doing wrong please.&lt;/P&gt;&lt;P&gt;Model:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AbiDhakal_0-1722620625263.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/111499iB561DB1DF18A95F9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="AbiDhakal_0-1722620625263.png" alt="AbiDhakal_0-1722620625263.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Select Layer By Attribute expression window:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AbiDhakal_1-1722620625370.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/111500i6AAE9F782C541A68/image-size/medium?v=v2&amp;amp;px=400" role="button" title="AbiDhakal_1-1722620625370.png" alt="AbiDhakal_1-1722620625370.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Parameter:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AbiDhakal_2-1722620625264.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/111498i06B5E74A7445E555/image-size/medium?v=v2&amp;amp;px=400" role="button" title="AbiDhakal_2-1722620625264.png" alt="AbiDhakal_2-1722620625264.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Geoprocessing:&lt;BR /&gt;In the window below marked in red, if I only put one value (SPB) then it will select, however if I put multiple values (SPB, EAB, etc.) as shown below it will not select.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AbiDhakal_3-1722620625508.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/111502i48BD5DB82C6CC809/image-size/medium?v=v2&amp;amp;px=400" role="button" title="AbiDhakal_3-1722620625508.png" alt="AbiDhakal_3-1722620625508.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I've added a variable to the model that would allow me to put Multiple values.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AbiDhakal_4-1722620625464.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/111501iA39FB11C9AA79BA7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="AbiDhakal_4-1722620625464.png" alt="AbiDhakal_4-1722620625464.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please help me.&lt;BR /&gt;&lt;BR /&gt;Thank you,&lt;BR /&gt;Abi&lt;/P&gt;</description>
      <pubDate>Fri, 02 Aug 2024 17:47:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-questions/inline-variable-substitution-in-modelbuilder-with/m-p/1514320#M4009</guid>
      <dc:creator>AbiDhakal</dc:creator>
      <dc:date>2024-08-02T17:47:29Z</dc:date>
    </item>
  </channel>
</rss>

