AnsweredAssumed Answered

Getting Script Functionality Working In Model

Question asked by cwholmes on Jan 17, 2019
Latest reply on Jan 23, 2019 by cwholmes


I have a script tool that is quite simple. It's main purpose is in displaying the following drop down list, the script itself doesn't really do much.

I am using the validation tab in the script tool to put the code to generate the items for the drop down list:

The script itself just displays the name of the selected lucode:

This all works fine on it's own as a script tool. But what I really want to do is to be able to use this list in modelbuilder and have it as a model parameter. As far as I can tell it seems as soon as I drag this script tool onto the modelbuilder interface, I lose the functionality that was available when it was run on it's own as a script tool.

Am I missing something? Is there a way I can get this drop down list displayed in modelbuilder and use it as a model parameter?

Thanks everyone!