Quantcast
Channel: Question and Answer » modelbuilder
Viewing all articles
Browse latest Browse all 135

User input and passing variables with ModelBuilder

$
0
0

I have created three modelbuilder tools that must be run in sequence. After running each tool, the user must examine several shapefiles and potentially change the input parameters of the next tool.

Each tool works fine, but I am unsure what the best method is to pass variables between tools.

I tried combining the tools as nested models, but could not figure out how to get user input and change model parameters after each submodel runs.

I also tried combining the tools into one python script. The input window popped up for the first tool, I set the parameters, and it ran, but the second tool did not run. No error code was returned so I do not know why the script did not finish running.

I am considering creating an intermediate table in the scratch workspace and using it as an array. Is this the only way to pass variables between tools in modelbuilder if I need user input after running each tool?


Viewing all articles
Browse latest Browse all 135

Trending Articles