Select to view content in your preferred language

Model Builder, output name same as input

5830
1
08-18-2014 12:54 PM
JuanSerratosa_López
Deactivated User

Hi all,

 

I´m building a very simple model wich ideally should iterate trough a folder with raster files (.tiff)  to use the tool Raster to Point with each one of them. I normally use the in-line variable %Name% to give a name for the output from the tool, but I don´t know why is not working with this tool.

 

I was wondering if it could be because the output is a shapefile, not a raster.

 

Do you know any other way I can use the name from the input to name the output from a tool??

 


Thank you very much

1 Reply
FreddieGibson
Honored Contributor

Have you tried combining the Parse Path Model Only tool with the Calculate Value tool. The parse path tool could give you the name of the raster without the extension and you could use the Calculate Value tool to stitch the .shp extension to the file.

Parse Path

http://desktop.arcgis.com/en/desktop/latest/tools/modelbuilder-toolbox/parse-path.htm

0 Kudos