SolomonP

Dynamically adding Tool Parameters

Discussion created by SolomonP on Jun 24, 2011
Latest reply on Jun 25, 2011 by JScheirer-esristaff
Using Tool Validator class, you can dynamically update a Value List Filter.
Is it possible to dynamically add a tool parameter to the parameter list?

For example, when tool initializes, there are 2 parameters present.
self.params[0] is a feature class
self.params[1] is a drop down with a list of numbers

Depending on the number selected in self.params[1], I would like that many parameters to be "appear" (NOT "enabled") in my tool dialog.

Is this possible yet?

Outcomes