Naming in Modelbuilder

3793
1
11-21-2014 02:30 PM
DavidCampbell
New Contributor III

Hi All,

 

I have a model that I run more than once sometimes and I use %'s to define the names of outputs when I can. I am running into an issue when the output already exists in the location I am directing it to, the output changes its name to the actual name not the %value% as I have defined. This is brutal as I have iterators and i need each iteration to be unique. I have a delete and re-create folder in there right now, but that is painful. Is there another way?

 

Thanks,

 

David

Tags (2)
0 Kudos
1 Reply
FreddieGibson
Occasional Contributor III

Have you tried use %i%? This will always create a unique name for the output file.

Examples of Inline system variable substitution

http://desktop.arcgis.com/en/desktop/latest/analyze/modelbuilder/examples-of-inline-system-variable-...

ivs.png