[GIS] Use output of Add Field as input for Calculate Field in ModelBuilder

arcgis-10.0field-calculatormodelbuilder

I have created a simple model in ArcGIS 10 which, after some initial processing of a feature class, outputs outputfc and adds a field to it. Regardless of the feature class input (which the user specifies), the field newField that is added is always the same. I then need to do some calculations in this newly added field, but because I know this field will only have the name that I specified, I select outputfc as the input table for Calculate Field, and an input variable field with the name of the field newField as the value.

This works fine to achieve the outcome I want, but if I allowed the user to specify the name of the added field, how would I connect this to the next Calculate Field process?

Best Answer

You can use Model Builder variables.

Read more info here.

Related Question