Select to view content in your preferred language

Using Model Builder to create folders

463
2
02-02-2023 09:37 AM
jhindleCRG
New Contributor III

I'm currently running iterate rasters that scrubs through a bunch of subfolders based on counties. I currently have the output going to a new folder where they are all aggregated.

Using the create folder tool, is it possible to copy the parent folders (Counties) and place all of these iterated rasters into new folders based on the original?

Thanks

 

modelbuilder.png

0 Kudos
2 Replies
ShitijMehta
Esri Regular Contributor

Trying to understand - let me know if i got it right... you want to save the newly created/iterated raster in the same folder or subfolder structure as the original so if the original path was C:\folder1\sunfolder2 - you would like the new one to go to the same D:\folder1\subfolder2?

0 Kudos
DuncanHornby
MVP Notable Contributor

Sounds like you need to use the Calculate Value tool to extract out the path the raster is coming from and another Calculate value tool to build the path you want to store it in.

0 Kudos