Save all the Iterated extractions

507
1
Jump to solution
11-25-2020 08:24 AM
mohasmohas
New Contributor

Hello. I made this in Model Builder in order to Iterate by row an extracting process. In the end at the output it only gives me the final Extracted Feature. Is there a way to Save all the previous ones at seperate layers? Thank you for your time.

0 Kudos
1 Solution

Accepted Solutions
DavidPike
MVP Frequent Contributor

you just need to change the output name of Slope_1 to Slope_%n%

%n% gets replaced by the number string of each iteration, Slope_1, Slope_2 etc.

 

The link blow should cover all aspects of this:

 

Examples of in-line variable substitution with ModelBuilder system variables—Help | ArcGIS for Deskt...

View solution in original post

1 Reply
DavidPike
MVP Frequent Contributor

you just need to change the output name of Slope_1 to Slope_%n%

%n% gets replaced by the number string of each iteration, Slope_1, Slope_2 etc.

 

The link blow should cover all aspects of this:

 

Examples of in-line variable substitution with ModelBuilder system variables—Help | ArcGIS for Deskt...