[GIS] Using nested iteration and models with ModelBuilder

arcgis-10.0arcgis-desktopmodelbuilder

I'm new to using ModelBuilder and have to do a nested iteration (for every month I have to iterate through 6 parameters). I am thinking of doing that by using nested models. One model doing the interation through monthes and then providing the current month as parameter to the submodel that iterates through the 6 parameters.

The linking of the models does not work correctly (boxes are not colored).

How can I make the current month value available to the submodel?

I just want the month parameter to be available in a function; I don't connect it to a function as input variable.

Best Answer

You have to make it ModelParameter see pics.

And then you can add this variable in first model.

enter image description here

enter image description here

Related Question