Using custom geoprocessing functions in models

259
0
10-03-2012 12:16 PM
MichaelThompson
New Contributor III
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
0 Kudos
0 Replies