Model builder won't add output of process

2794
5
10-06-2011 09:25 PM
AngelaSpitzer
New Contributor
I'm using model builder to convert shape files to DWG Cad files. For some reason despite the fact that i have:

-Add to display

and 'Add results of geoprocessing to display' ticked it isn't working.
I've also tried having 'Managed' ticked and it doesn't make a difference either.

These were all the options that i could find in previous threads on this issue and none of them are working.

Any help would be greatly appreciated.

Thanks!
0 Kudos
5 Replies
by Anonymous User
Not applicable
Hi Angela,

Any luck with this?  I'm running into the same problem....and I don't want to set everything as a parameter since that clutters things up too much.

Cheers,
Brendan
0 Kudos
HenrikSvenningsen
Occasional Contributor
Are you running the model from inside Modelbuilder or from ArcCatalog ?


Regarding :Add to display
This only works when you run the model inside modelbuilder....If you run it from ArcCatalog you have to ADD Data manually.

Regarding: 'Add results of geoprocessing to display'
This only works on GP tools runned from ArcToolbox and not working on a model.
0 Kudos
NobbirAhmed
Esri Regular Contributor
If you want your output to display while running your model as a tool, make the output a model parameter.
0 Kudos
BillClingman
New Contributor
Another option might be to drag your Model into your ArcMap session, which creates a Tool Layer in your TOC, a special kind of Group Layer that you can use to run your Model and automatically add the results to the map display.  This option does come with its own set of complications, however, so you should read the Help doc about it before deciding whether or not to go this route.  For one thing, the Model is not actually resident inside the Map document, so if you want to share it with anyone else, you still have to provide both the Map and the Toolbox that contains the Model, and whether or not you choose relative or absolute paths can become a critical issue.  Also, subsequent edits you make to the Model may not have any effect until you remove and re-add the Tool Layer in the Map.  And I think you still have to declare those model outputs as model parameters before the Add to Display setting will have the desired effect.  Finally, even if you are giving those outputs unique names every time you run the model, in your TOC they will always pick up the label of the Model object (variable) that represents them, so only the most recent results are automatically displayed, and will replace previous results unless you have changed the layer name in the map TOC.

A related question: I have tried all permutations to get an output Table to automatically Add to Display and nothing works, even though the Add to Display option appears to be available on output tables in Model Builder.  Perhaps ESRI simply forgot to "gray out" that option for table objects in the Model.  Does anyone know?
0 Kudos
NobbirAhmed
Esri Regular Contributor
About adding table to display:

There are several tabs at the top of the table of contents. The first one is 'List by Drawing Order', the next one is  'List by Source'. Click on 'List by Source' and you should see the table in the TOC.
0 Kudos