<?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 Complicated model with a lot of nested models in ModelBuilder Questions</title>
    <link>https://community.esri.com/t5/modelbuilder-questions/complicated-model-with-a-lot-of-nested-models/m-p/1335184#M3918</link>
    <description>&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;I have been using modelbuilder for years but very recently got into iterators. I always have a lot of metadata to derive from shapefiles representing lidar mission acquisition (Flightlines, project limits, cover, etc) and put into a geodatabase, so I thought I would automate things a bit.&lt;/P&gt;&lt;P&gt;I have created a big model with 16 nested models doing various tasks and sometimes using the previously created layers to derive more data.&lt;/P&gt;&lt;P&gt;Here is an idea of what it looks like (It aint pretty) with all the user variables listed on the left side.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="felixBack_0-1696453429966.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/82337i9B5F60C970049521/image-size/medium?v=v2&amp;amp;px=400" role="button" title="felixBack_0-1696453429966.png" alt="felixBack_0-1696453429966.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Four questions :&lt;/P&gt;&lt;P&gt;1. When I created the tool, I was very much into the learning phase. Each nested model was tested individually and I left the inline variables in the nested models and published those as variables outside the nested model. Is this correct ?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;My feeling is that I should not have done that, I should have instead created blank nested models, publish the variable I need in the big model and write my inline variable there. Here is one of my nested models showing the problem:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="felixBack_1-1696453804815.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/82338i0916435F12365B5E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="felixBack_1-1696453804815.png" alt="felixBack_1-1696453804815.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;2. I create a lot of intermediate data and sometimes, I find it easier to save a copy of the intermediate data on disk if it has to be used by another nested model. I create a "delete folder" tool at the end to delete all those layers at the end. How how you managing the intermediate data if it needs to be used by another model ?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="felixBack_2-1696454377631.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/82339iB0BF54F2FDBB7CE0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="felixBack_2-1696454377631.png" alt="felixBack_2-1696454377631.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;3. When I verify a model, I get a ton of these mentions :&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="felixBack_3-1696454446275.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/82340iC4C9C587603BFF26/image-size/medium?v=v2&amp;amp;px=400" role="button" title="felixBack_3-1696454446275.png" alt="felixBack_3-1696454446275.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Is this linked to my inline variable substitution I was speaking about in question 1 ?&lt;BR /&gt;&lt;BR /&gt;4. Sometimes, the shapefiles input by the user creates problems, more specifically when I have this "-" symbol or if the name of the shapefile starts with numbers. Example :&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="felixBack_4-1696454603769.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/82341i36DC2EAD51021D95/image-size/medium?v=v2&amp;amp;px=400" role="button" title="felixBack_4-1696454603769.png" alt="felixBack_4-1696454603769.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Is everyone using a python script to modify the name temporarily or is there another method ?&lt;BR /&gt;&lt;BR /&gt;Thank you to anyone taking some of his time to read this,&lt;/P&gt;&lt;P&gt;Felix&lt;/P&gt;</description>
    <pubDate>Wed, 04 Oct 2023 21:25:00 GMT</pubDate>
    <dc:creator>felixBack</dc:creator>
    <dc:date>2023-10-04T21:25:00Z</dc:date>
    <item>
      <title>Complicated model with a lot of nested models</title>
      <link>https://community.esri.com/t5/modelbuilder-questions/complicated-model-with-a-lot-of-nested-models/m-p/1335184#M3918</link>
      <description>&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;I have been using modelbuilder for years but very recently got into iterators. I always have a lot of metadata to derive from shapefiles representing lidar mission acquisition (Flightlines, project limits, cover, etc) and put into a geodatabase, so I thought I would automate things a bit.&lt;/P&gt;&lt;P&gt;I have created a big model with 16 nested models doing various tasks and sometimes using the previously created layers to derive more data.&lt;/P&gt;&lt;P&gt;Here is an idea of what it looks like (It aint pretty) with all the user variables listed on the left side.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="felixBack_0-1696453429966.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/82337i9B5F60C970049521/image-size/medium?v=v2&amp;amp;px=400" role="button" title="felixBack_0-1696453429966.png" alt="felixBack_0-1696453429966.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Four questions :&lt;/P&gt;&lt;P&gt;1. When I created the tool, I was very much into the learning phase. Each nested model was tested individually and I left the inline variables in the nested models and published those as variables outside the nested model. Is this correct ?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;My feeling is that I should not have done that, I should have instead created blank nested models, publish the variable I need in the big model and write my inline variable there. Here is one of my nested models showing the problem:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="felixBack_1-1696453804815.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/82338i0916435F12365B5E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="felixBack_1-1696453804815.png" alt="felixBack_1-1696453804815.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;2. I create a lot of intermediate data and sometimes, I find it easier to save a copy of the intermediate data on disk if it has to be used by another nested model. I create a "delete folder" tool at the end to delete all those layers at the end. How how you managing the intermediate data if it needs to be used by another model ?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="felixBack_2-1696454377631.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/82339iB0BF54F2FDBB7CE0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="felixBack_2-1696454377631.png" alt="felixBack_2-1696454377631.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;3. When I verify a model, I get a ton of these mentions :&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="felixBack_3-1696454446275.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/82340iC4C9C587603BFF26/image-size/medium?v=v2&amp;amp;px=400" role="button" title="felixBack_3-1696454446275.png" alt="felixBack_3-1696454446275.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Is this linked to my inline variable substitution I was speaking about in question 1 ?&lt;BR /&gt;&lt;BR /&gt;4. Sometimes, the shapefiles input by the user creates problems, more specifically when I have this "-" symbol or if the name of the shapefile starts with numbers. Example :&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="felixBack_4-1696454603769.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/82341i36DC2EAD51021D95/image-size/medium?v=v2&amp;amp;px=400" role="button" title="felixBack_4-1696454603769.png" alt="felixBack_4-1696454603769.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Is everyone using a python script to modify the name temporarily or is there another method ?&lt;BR /&gt;&lt;BR /&gt;Thank you to anyone taking some of his time to read this,&lt;/P&gt;&lt;P&gt;Felix&lt;/P&gt;</description>
      <pubDate>Wed, 04 Oct 2023 21:25:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-questions/complicated-model-with-a-lot-of-nested-models/m-p/1335184#M3918</guid>
      <dc:creator>felixBack</dc:creator>
      <dc:date>2023-10-04T21:25:00Z</dc:date>
    </item>
  </channel>
</rss>

