[GIS] ModelBuilder Iterator – how to change values and names respectively

arcgis-10.3arcgis-desktopiteratormodelbuilder

I have a table (value.csv) with two fields (Expression, Name) that I would like to iterate through within a model.

I want the model to iterate through a series of SQL expressions (e.g. Value > 1, Value > 2, etc.). I think this part is working.

How do I get the iterator to rename each new shapefile according to the Name field in my table (i.e. Name1, Name2, etc.)

EDIT: I've added a screenshot for the set null parameters (which I am currently doing manually).

enter image description here

enter image description here

enter image description here

UPDATE: Added the Iterate Row Selection and Get Field Value to my model and after some tinkering it eventually worked. Here is the full model:

enter image description here

Best Answer

What you will need to use is Iterate Row Selection instead. See the ArcGIS help page for more information.

If you then use Get Field Value you will be able to use the Name/Expression in other tools.

Related Question