Hello,
I have a question in regards to using ModelBuilder. I've created a tool in ModelBuilder that runs fine when I run it within the "Edit" mode of the tool, however when I open the tool and enter the parameters it keeps running and running unlike when I run it within the Edit mode.
What is causing this? Why would the tool run fine when I add the parameters and run it in edit mode, but not work when I simply double click on the model and enter the parameters. Is there something I am missing?
I have attached screenshots of both methods showing which one works and doesn't.
I don't understand why I can run the model within modelbuilder but it seems to freeze when I run the model in the tool dialog box.
Thank you for your help!
Solved! Go to Solution.
I think your issue has something to do with validation, i.e. the tools properly recognizing the inputs and setting the tools as ready to run.
You may have better luck if you enter inputs in edit mode, validate the model with the check box button, and then save the model. Then to use different inputs, change them when running it as a tool and hopefully the validation will "take" when running as a tool as well.
Is there iteration involved?
I did not add any iterators. Here's a screenshot of the model. An iterator might work too, but I am not sure how I would iterate the model based on multiple parameter values entered
I think your issue has something to do with validation, i.e. the tools properly recognizing the inputs and setting the tools as ready to run.
You may have better luck if you enter inputs in edit mode, validate the model with the check box button, and then save the model. Then to use different inputs, change them when running it as a tool and hopefully the validation will "take" when running as a tool as well.
Thank you very much for the help Curtis. It works fine now out of the tool dialog box. I do think you are right and it had something to do with the tools not being ready to run for some reason. Thanks again!