Make Feature Layer will not run in ModelBuilder

196
3
06-20-2011 12:57 AM
DavidFrankland
New Contributor
Hi,

I am using ModelBuilder, and my last step is to use the 'Make Feature Layer' tool to convert a polyline feature class to a layer. When I run the model from inside the ModelBuilder edit window it runs fine, and produces the layer file. However, when I try to run the Model by double-clicking the model icon, it runs with no errors but it does not create the layer file as an output.

I have set the layer file as 'Model Parameter' and have set 'Add to Display'.

Any ideas?
0 Kudos
3 Replies
DorisDialogu1
New Contributor
From:   http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#/Tutorial_Creating_tools_with_ModelBuil...

"...when a model is run from its tool dialog box, the Add To Display setting is ignored. To add the output to the display, you must make the output variable a model parameter. "

Best of luck!
0 Kudos
DeanRobbins
New Contributor
I have run into the same issue and I think it has something to do with the use of in-line variables.  If you are using in-line variables, change them out for hard-coded values and see if it makes a difference.
0 Kudos
ChrisClarke
New Contributor II
I have the exact same problem!
0 Kudos