2

I've made a model that creates some points with Z value and a buffer, which I then do a 3D analyst IDW on, and a Cut Fill analysis.

The model input is a line along with af DEM/Raster, and some names for the output files. However I would like to show the IDW output as a layer that will be opened in the Table Of Contents and displayed as well as the CutFill, but for some reason I can't get it to work.

Answer: Adding a Make Raster Layer after the IDW output seems to do the trick as well.

Link for the toolbox with the model in it

enter image description here

asked Mar 12, 2018 at 8:50
2
  • You say "...would like to show the IDW output in the layers...", layers of what? Commented Mar 12, 2018 at 11:25
  • @Hornbydd Perhaps a poor phrasing, what I mean is, the Output should be added to the table of contents and shown in the data view, so I can see the result of the IDW which is used afterwards for the cut fill. Commented Mar 12, 2018 at 11:35

1 Answer 1

2

The answer is in the help file under the page title of Display model data, the note explains how to make it add to table of contents.

Quoting from ESRI help file:

Add To Display has no effect outside ModelBuilder. When running a model tool from its dialog box or the Python window, the Add To Display setting will not be honored. To add model data variables to the display when running the model from its dialog box or the Python window, make the data variable a model parameter, then enable the Add results of geoprocessing operations to the display option from the Standard toolbar: Geoprocessing> Geoprocessing Options> Add results of geoprocessing operations to the display.

answered Mar 12, 2018 at 12:44
1
  • 1
    Adding a Make Raster Layer after the_IDW_ output seems to do the trick as well. Commented Mar 12, 2018 at 14:17

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.