<?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: Model performance issue in ModelBuilder Questions</title>
    <link>https://community.esri.com/t5/modelbuilder-questions/model-performance-issue/m-p/745604#M2543</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You are a good man Tim Witt....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 10 Apr 2017 18:06:46 GMT</pubDate>
    <dc:creator>JoeBorgione</dc:creator>
    <dc:date>2017-04-10T18:06:46Z</dc:date>
    <item>
      <title>Model performance issue</title>
      <link>https://community.esri.com/t5/modelbuilder-questions/model-performance-issue/m-p/745598#M2537</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey everybody,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am working on a Model in which you can use your current street centerline file and transform it into a NENA standard street centerline file. This includes having a lot of drop down boxes and check boxes. It seems the more drop down boxes and checkboxes I use, the more my model takes to respond.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was wondering if anyone has any suggestions to enhance the performance?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Apr 2017 14:53:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-questions/model-performance-issue/m-p/745598#M2537</guid>
      <dc:creator>TimWitt2</dc:creator>
      <dc:date>2017-04-06T14:53:26Z</dc:date>
    </item>
    <item>
      <title>Re: Model performance issue</title>
      <link>https://community.esri.com/t5/modelbuilder-questions/model-performance-issue/m-p/745599#M2538</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've had a look at your model, it's quite&amp;nbsp;big! You have hit the limitation of model builder and it is creaking under a complex interface. When you change anything a whole load of validation is run behind the scenes which you have no control over.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is really only 1 option here and that is to convert the entire model into python code, I suspect it will also run faster and you can organize it to be much more efficient.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With python you have two options:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Develop it as a python script and then wire up an interface to it. This would be the easiest approach but could potentially lead to the same slow down.&lt;/LI&gt;&lt;LI&gt;Develop it as a python &lt;SPAN style="text-decoration: line-through;"&gt;addin&lt;/SPAN&gt; toolbox and define a new interface for it. An obvious one is as you have a lot of repetition for similar like inputs a value table would be a better choice. Your user would complete the table then it is just ONE parameter that needs validating not the dozen you have now.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are not comfortable in programming in python then there are many developers out there who could do this for you but obviously for a fee.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Apr 2017 14:25:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-questions/model-performance-issue/m-p/745599#M2538</guid>
      <dc:creator>DuncanHornby</dc:creator>
      <dc:date>2017-04-10T14:25:58Z</dc:date>
    </item>
    <item>
      <title>Re: Model performance issue</title>
      <link>https://community.esri.com/t5/modelbuilder-questions/model-performance-issue/m-p/745600#M2539</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Duncan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;great post! I have dabbled in Python Addins before and you are right this would be the best way to go. I just need to figure out how to in cooperate all the dropdown boxes that I need.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Apr 2017 15:28:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-questions/model-performance-issue/m-p/745600#M2539</guid>
      <dc:creator>TimWitt2</dc:creator>
      <dc:date>2017-04-10T15:28:27Z</dc:date>
    </item>
    <item>
      <title>Re: Model performance issue</title>
      <link>https://community.esri.com/t5/modelbuilder-questions/model-performance-issue/m-p/745601#M2540</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Tim:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That's a pretty intense model you have there.&amp;nbsp; I can see why it is bogging down - &lt;EM&gt;Modelbuilder&lt;/EM&gt; unfortunately is not known for speedy processes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you do get it worked out, some of us might bribe you for copy of the model/code.&amp;nbsp; Like when the NENA standard finally becomes a mandatory requirement, me and this guy:&amp;nbsp; &lt;A href="https://community.esri.com/people/jborgion"&gt;jborgion&lt;/A&gt; &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/wink.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope the coding goes well,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chris Donohue, GISP&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Apr 2017 15:55:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-questions/model-performance-issue/m-p/745601#M2540</guid>
      <dc:creator>ChrisDonohue__GISP</dc:creator>
      <dc:date>2017-04-10T15:55:44Z</dc:date>
    </item>
    <item>
      <title>Re: Model performance issue</title>
      <link>https://community.esri.com/t5/modelbuilder-questions/model-performance-issue/m-p/745602#M2541</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here's a thought; if NENA is going to force it's standards upon PSAPs, the very least they can do is provide a little coin to help defray the development costs...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Apr 2017 16:15:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-questions/model-performance-issue/m-p/745602#M2541</guid>
      <dc:creator>JoeBorgione</dc:creator>
      <dc:date>2017-04-10T16:15:09Z</dc:date>
    </item>
    <item>
      <title>Re: Model performance issue</title>
      <link>https://community.esri.com/t5/modelbuilder-questions/model-performance-issue/m-p/745603#M2542</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Of course I would share it!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For our data I have the street model finished already, but I thought it might be a good idea to create this customized model, so other agencies don't need to go through all the hassle.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Apr 2017 17:42:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-questions/model-performance-issue/m-p/745603#M2542</guid>
      <dc:creator>TimWitt2</dc:creator>
      <dc:date>2017-04-10T17:42:57Z</dc:date>
    </item>
    <item>
      <title>Re: Model performance issue</title>
      <link>https://community.esri.com/t5/modelbuilder-questions/model-performance-issue/m-p/745604#M2543</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You are a good man Tim Witt....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Apr 2017 18:06:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-questions/model-performance-issue/m-p/745604#M2543</guid>
      <dc:creator>JoeBorgione</dc:creator>
      <dc:date>2017-04-10T18:06:46Z</dc:date>
    </item>
    <item>
      <title>Re: Model performance issue</title>
      <link>https://community.esri.com/t5/modelbuilder-questions/model-performance-issue/m-p/745605#M2544</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The obvious place to be sharing it would be &lt;A href="http://codesharing.arcgis.com/"&gt;http://codesharing.arcgis.com/&lt;/A&gt;&amp;nbsp;rather than say attached to a reply in this thread.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Apr 2017 09:04:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-questions/model-performance-issue/m-p/745605#M2544</guid>
      <dc:creator>DuncanHornby</dc:creator>
      <dc:date>2017-04-11T09:04:55Z</dc:date>
    </item>
    <item>
      <title>Re: Model performance issue</title>
      <link>https://community.esri.com/t5/modelbuilder-questions/model-performance-issue/m-p/745606#M2545</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Agreed, that is a good website.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again for the python addin suggestion, it is so much faster.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is how it will look like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-1 jive-image j-img-original" src="/legacyfs/online/346167_Nena Addin.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The only issue I need to solve is how to manipulate the layout because I will need 50!!!! combo boxes.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Apr 2017 17:56:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-questions/model-performance-issue/m-p/745606#M2545</guid>
      <dc:creator>TimWitt2</dc:creator>
      <dc:date>2017-04-11T17:56:00Z</dc:date>
    </item>
    <item>
      <title>Re: Model performance issue</title>
      <link>https://community.esri.com/t5/modelbuilder-questions/model-performance-issue/m-p/745607#M2546</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have got my terminology mixed up, it is a python &lt;EM&gt;toolbox&lt;/EM&gt; not a python &lt;EM&gt;addin&lt;/EM&gt; I was thinking about, my apologies. The image above&amp;nbsp;looks like a toolbar to me? Python Addins are more for interacting with the map window where you want to create a geo-processing tool.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So one can have python &lt;EM&gt;scripts&lt;/EM&gt;, python &lt;EM&gt;addins&lt;/EM&gt;&amp;nbsp;or python &lt;EM&gt;toolboxes&lt;/EM&gt;. I have developed more complex interfaces with using python toolboxes. I suggest you look at &lt;A _jive_internal="true" href="https://community.esri.com/docs/DOC-3210"&gt;&lt;SPAN style="color: #0066cc; text-decoration: underline;"&gt;this document&lt;/SPAN&gt;&lt;/A&gt;&amp;nbsp;it shows you how to construct value tables.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Apr 2017 08:42:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-questions/model-performance-issue/m-p/745607#M2546</guid>
      <dc:creator>DuncanHornby</dc:creator>
      <dc:date>2017-04-12T08:42:05Z</dc:date>
    </item>
    <item>
      <title>Re: Model performance issue</title>
      <link>https://community.esri.com/t5/modelbuilder-questions/model-performance-issue/m-p/745608#M2547</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Again great information! Your code was really helpful!!!&lt;/P&gt;&lt;P&gt;I think this is what you meant.&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="346298" alt="" class="image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/346298_nena2.png" style="width: 620px; height: 467px;" /&gt;&lt;/P&gt;&lt;P&gt;Once they are done filling it out it will run through the "Add field" and "Calculate field" code.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Apr 2017 15:08:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-questions/model-performance-issue/m-p/745608#M2547</guid>
      <dc:creator>TimWitt2</dc:creator>
      <dc:date>2017-04-12T15:08:34Z</dc:date>
    </item>
    <item>
      <title>Re: Model performance issue</title>
      <link>https://community.esri.com/t5/modelbuilder-questions/model-performance-issue/m-p/745609#M2548</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yeah that was what I was envisaging. Don't know and not tried it but if your inputs always have the same&amp;nbsp; NENA field names you could try&amp;nbsp;populating the first column and then it is up to the user to match the field name in "your field"?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your code would then read from the value table the&amp;nbsp;rows with values and process accordingly or you take the approach of starting with an empty table and they add just the&amp;nbsp;fields that need processing? What ever works best for your logic.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Either way the interface will be much more responsive.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Apr 2017 15:17:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-questions/model-performance-issue/m-p/745609#M2548</guid>
      <dc:creator>DuncanHornby</dc:creator>
      <dc:date>2017-04-12T15:17:57Z</dc:date>
    </item>
    <item>
      <title>Re: Model performance issue</title>
      <link>https://community.esri.com/t5/modelbuilder-questions/model-performance-issue/m-p/745610#M2549</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As you mentioned in your first paragraph, the Nena fields will be set fields. I will populate the first column with the Nena field names and the user will match their street field, with the corresponding Nena field name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now my next challenge will be how I access the values that the user chose and match them up with my calculate field code.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Apr 2017 15:22:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-questions/model-performance-issue/m-p/745610#M2549</guid>
      <dc:creator>TimWitt2</dc:creator>
      <dc:date>2017-04-12T15:22:02Z</dc:date>
    </item>
    <item>
      <title>Re: Model performance issue</title>
      <link>https://community.esri.com/t5/modelbuilder-questions/model-performance-issue/m-p/745611#M2550</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The slowness we see with big models with lots of tools and parameters is caused by the need for ModelBuilder to validate all the parameters for all the tools. This validation is very helpful when putting together a workflow but when&amp;nbsp;many&amp;nbsp;tools and parameters&amp;nbsp;(including those in nested models) are there, it requires a LOT of validation, and, well, that takes time.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I disagree that it is all or nothing. A middle way I have found when I am running into parameter validation problems or very slow validation is to take some of the workflow and convert it to a&amp;nbsp;Python function inside the Calculate Value tool. This hides that workflow from ModelBuilder's &amp;nbsp;slow (and sometimes buggy) parameter&amp;nbsp;validation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the tool has a extensive, complex input like the ones Tim is working with, I'll use model builder to test to get the parameters I want, then export model to script to get the python code written for me. Then I can use that code, either in Calculate Value or in a script tool.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, from where this thread went it is obvious Tim does need a .pyt for this job so he can do the value table thing. But he figured out a lot of his workflow using ModelBuilder!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Apr 2017 08:17:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-questions/model-performance-issue/m-p/745611#M2550</guid>
      <dc:creator>curtvprice</dc:creator>
      <dc:date>2017-04-17T08:17:22Z</dc:date>
    </item>
    <item>
      <title>Re: Model performance issue</title>
      <link>https://community.esri.com/t5/modelbuilder-questions/model-performance-issue/m-p/745612#M2551</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Great post Curtis! You are right, without model builder I wouldn't have known how to structure my python code. Not to mention, I didn't have to write many lines of code by exporting the model to python. Now I can just copy paste it into my python toolbox.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Apr 2017 12:55:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-questions/model-performance-issue/m-p/745612#M2551</guid>
      <dc:creator>TimWitt2</dc:creator>
      <dc:date>2017-04-17T12:55:12Z</dc:date>
    </item>
  </channel>
</rss>

