Select to view content in your preferred language

Use model builder to generate output file names

292
1
12-28-2023 08:46 AM
Labels (2)
JoshDawe
New Contributor

Hello,

I am using Arcmap 10.8.2 to delineate watersheds and I have used model builder to automate my work.

Is it possible to generate the output file names as well? I have been trying to do this without any luck.
I need the file names to be as follows: 1-160_FDir.
The 1-160 is my structure number that the user will have to input. The "FDri" portion is the indicator for which raster it is.

I have no experience with phyton so any help would be appreciated. 

0 Kudos
1 Reply
BobBooth1
Esri Contributor

Hi Josh,

Have a look at inline variable substitution in ModelBuilder.

https://desktop.arcgis.com/en/arcmap/latest/analyze/modelbuilder/examples-of-inline-model-variable-s...

You can use those, for example, with an iterator, to create a set of file names.

Best,

Bob

0 Kudos