Road block regarding selection dropdowns

Discussion created by knie0012 on May 26, 2011
Latest reply on May 27, 2011 by Dan_Patterson
Hey all-

I need some help. I have a script that works fine, but I would like to create a custom tool with a drop down selection box and don't know how. My search has resulted zero remedies.

I have a script that has two GetParameterAsText(). The first is just the point file containing all the cities. The second GetParameterAsText() needs an input from a user that is the selected city. Then, I have it measuring the distances from that city input to all other cities.

Instead of guessing what city the user can input (type) how do I create a drop down selection from the inputed feature table?

Any advice? I think I've tried everything in the script tool wizard. I'm missing something?!