2

I'm trying to use the iteration function in ArcGIS model-builder. To avoid overwriting the output raster, I used %Name% inline variable. But the name of my files are getting bigger and bigger overtime (I use the outputs in another set of iterations). Is there a way to select only part of the file name and not all of it?

Thanks

migrated from stackoverflow.com Dec 26 '13 at 3:32

This question came from our site for professional and enthusiast programmers.

1

You could try to use the model only calculate value tool to create the name you desire. This would require you to write a small bit off python to do a bit of string manipulation.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.