cbates0372

Python Script Tool Validation Parameters

Discussion created by cbates0372 on Jul 9, 2012
Latest reply on Jul 9, 2012 by khibma-esristaff
Hi Everyone.

I'm fairly new to python/ArcGIS script tools, so I was hoping I could find an easy/ straightforward example...
I need the user of tool to select an input parameter in a script tool from Dropdown List populated with 5 or 6 default string values.

I'm sure this is a very simple task, but I can't seem to find any straight forward examples online or in esri help that are this simple.

http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#//00150000000t000000.htm

I know that this has to be set in the tool Properties > Validation > Edit the Validation Script.

Anybody have any insight on how I should write the function so that I get a very simple list of strings to choose from?

Thanks!

Chris

Outcomes