Hi everyone.
Is it possible to change the default value of a parameter if the user selects a different value before running the model? For example, if the user wants to change the distance in a distance parameter (from 20 feet to 50 feet), then the next time the user runs the model 50 feet will be the default value. Assume this user does not know how to alter the parameter defaults values in model builder itself. They just want to run the model. Any help will be appreciated.
What I need to happen is after a user changes the parameter value in the model, when the model is run again, the new value is now the default value.
Parameter set up in Model
User runs opens the model and sees the default value of Rural or Urban Local Road Distance as 0:
User wants to change the value of Rural or Urban Local Road Distance to 20:
Model Runs....
Next time user opens the model the default value is now 20:
Thanks!
Solved! Go to Solution.
Hey Dan, share the love and give us a few links!
On my links blog post The ...py... links ... I think this is all, but I can't remember
"You are not allowed to use Modelbuilder": When Instructors need to get smarter
"You are not allowed to use Geoprocessing Results... ": The Students get smarter
Thanks for all of the replies and help everyone. I was trying to do something similar to onchange event similar to javascript, but it looks like whenever I want to share this script with others, the hard coded values will need to be changed to match their data. I'll look more into it and let you all know what I find out.