Hey everybody,
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.
I was wondering if anyone has any suggestions to enhance the performance?
Thanks,
Tim
I've had a look at your model, it's quite 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.
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.
With python you have two options:
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.
Duncan,
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.
Tim
Tim:
That's a pretty intense model you have there. I can see why it is bogging down - Modelbuilder unfortunately is not known for speedy processes.
When you do get it worked out, some of us might bribe you for copy of the model/code. Like when the NENA standard finally becomes a mandatory requirement, me and this guy: jborgion
Hope the coding goes well,
Chris Donohue, GISP
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...
Of course I would share it!
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.
You are a good man Tim Witt....
The obvious place to be sharing it would be http://codesharing.arcgis.com/ rather than say attached to a reply in this thread.
Agreed, that is a good website.
Thanks again for the python addin suggestion, it is so much faster.
This is how it will look like:
The only issue I need to solve is how to manipulate the layout because I will need 50!!!! combo boxes.
I have got my terminology mixed up, it is a python toolbox not a python addin I was thinking about, my apologies. The image above 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.
So one can have python scripts, python addins or python toolboxes. I have developed more complex interfaces with using python toolboxes. I suggest you look at this document it shows you how to construct value tables.