Select to view content in your preferred language

Modelbuilder - run tool dependent on user input

614
1
Jump to solution
06-26-2013 02:47 AM
KerstinServatius
Deactivated User
Hello,

I'm new to modelbuilder and I'm stucking on the following:

I need a variable that a user can type in in the tool dialog box (e.g. a value between 1 and 100). This value is not existing in any input data set.
If the value is smaller than 50 I want to run different tools than with values greater than 50.

I need a hint on how to set this up.

Thanks in advance
Jimmy
Tags (2)
0 Kudos
1 Solution

Accepted Solutions
LucasDanzinger
Esri Frequent Contributor
1. Add a new variable (perhaps a Long or a String) from the Insert menu and right click > make model parameter.
2. Use If-Then_Else logic as described in this help page to determine where to go depending on the input value for the variable created in step #1.

View solution in original post

0 Kudos
1 Reply
LucasDanzinger
Esri Frequent Contributor
1. Add a new variable (perhaps a Long or a String) from the Insert menu and right click > make model parameter.
2. Use If-Then_Else logic as described in this help page to determine where to go depending on the input value for the variable created in step #1.
0 Kudos