AnsweredAssumed Answered

How to customize parameters of a AcrToolBox?

Question asked by akifsaid on Apr 15, 2015
Latest reply on Apr 16, 2015 by FGibson-esristaff

Hi all,


Here  is my problem. I want to create an AcrToolbox to make a batch of delete (example). I can perform this delete on a single feature class or several one contained in a workspace. so there is four parameters of this arctoolbox:

1- Boolean parameter: Process a single feature class or several

2- Workspace parameter

3- Feature class parameter

4- Field parameter


What I want is that when the boolean is checked (several feature class to process), a function run automatically to take the table fields of the firs feature class in the workspace and show them in Field parameter. When the boolean is unchecked (single feature class), the function retrieve the field of this feature class and put them in Field parameter.


Usualy, It is quite easy to do it when only a single feature class is used. I just set Obtained from in Parameter Properties.