2

I have a model that only takes in one user-defined object, all other inputs to the tool are (deliberately) hard-coded. In ModelBuilder, I wish to make two model parameters, the input object (which defines the extent of the final output raster) and the destination of the final output raster.

I am unable to successfully make a model parameter out of the output destination. I have set this as a model parameter but it does not appear as a parameter when I run the tool in ArcMap, and the option to clear the value in ModelBuilder is greyed out, see below screenshot:

enter image description here

What is the error in my approach?

PolyGeo
65.5k29 gold badges115 silver badges350 bronze badges
asked Nov 13, 2015 at 9:48

1 Answer 1

3

The Apply Symbology From Layer Tool does not actually create an output, instead it references the input layer with the updated symbology. In your screenshot you can see that the Output Raster is automatically set to your Input Raster (MakeRas_a_and_s1). More information can be found here: http://resources.arcgis.com/EN/HELP/MAIN/10.1/index.html#//00170000006n000000

If you want the user to be able to specify where to save the final raster you can add the Copy Raster Tool (Data Management Tools, Raster, Raster Dataset Toolbox) to the model and set your output from the Apply Symbology From Layer Tool as your Input Raster to this one. You can then set the Output Raster Dataset as a Model Parameter.

However, this will not save the symbology with the raster, just the data itself. If this is your intention then great - otherwise, without knowing a bit more about the model and its intended use, it is difficult to recommend a final solution. Regardless, I hope this information will help.

answered Nov 13, 2015 at 13:08

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.