AnsweredAssumed Answered

Script tool parameters

Question asked by jpedder on Aug 27, 2012
Latest reply on Aug 28, 2012 by rafaelr
This is my first foray into the ToolValidator class so this might be a very basic issue.

I???d like to read in a list of values from a list and display them as selectable in the script dialog as selectable options

Parameters in the script tool
[0] = name of mxd (required, arcmapdocument)
[1] = values (required, string, multivalue, filtered)

Can I assign a list such as
vals = [1,2,3,4,5,6,7]
self.params[1] = vals

In the end I???d like this to pull data from a featureclass using a searchcursor but for now I???m trying to see if it will even take the basic list of values.