ThompsonMS

Using custom geoprocessing functions in models

Discussion created by ThompsonMS on Oct 3, 2012
Hello.

I maintain custom geoprocessing tools which my customers use in Models. If I add a new parameter to the tool and insert it "in the middle" of the existing ParameterInfo array, it causes the values that were already defined for the tool in my model to shift. I assume this is because the model saves the parameter values by a parameter index rather than a parameter name (bummer!).  Short of ensuring that any "new" parameters get added to the end of the ParameterInfo array, is their a correct way to handle this situation so that the values don't shift in models using the tool?

Thanks!
Michael
Motorola Solutions

Outcomes