Quantcast
Channel: Forums - Geoprocessing
Viewing all articles
Browse latest Browse all 1952

run model for each variable

$
0
0
Working with modelbuilder to build a tool that needs to repeat using a different query statement

Setup:
Point layer has three attributes with the following values

field1: yes, no
field2: 1,2
field3: 0,1

a variable input parameter is setup for each and I use inline variable substitution in the query statement.

Possible permutation of these three field values I enter the following and then run one at a time, so not efficient.
yes, 1,0
yes, 2,0
yes, 1,1
yes, 2,1 ...


What I want to do is have the model automatically run using each possible combination of inputs and to export each result to display. so for a simple buffer output I have /buffer$i$

I have tried using a list, but I still only get one output.

Any help is appreciated.

Viewing all articles
Browse latest Browse all 1952

Trending Articles