I’m using Modelbuilder with a defined For loop (1 to 1000, for example) and a submodel. In each iteration of the submodel, I create a distance raster that I want to add to an Accumulation raster (which I want to be initially 0). After the 1000th iteration, I want to put the Accumulation raster into a geodatabase. To be clear, I don’t want to create 1000 rasters and add them together. I’d like to do everything in memory until I get the final accumulated raster that I save. It’s basically
Accumulate = Accumulate + SelectDist
Is this possible? I have tried the Raster Calculator and the Plus tool and I can’t seem to accumulate anything. I get the value of the last iteration.