I have a very simple model that has a feature class iterator (recursive) that runs through a directory and sub-folders looking for line files and then projects them to UTM_16N. The only issue with the model is the destination for the output files.
Instead of having all the outputs going to a single destination I want them to be created in the source folder. So basically the model would dump the output in the same folder as the source file.
There are hundreds of folders each containing an individual line file and they all have the same name. The only identifier so to speak is the container folder name (counties in this case).
Answer
You need a subtle change to your model. See the image below:
Configure Expression parameter of Calculate Value like this:
Set Output Dataset or FeatureClass parameter of Project tool to %output_value%
No comments:
Post a Comment