<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Using custom geoprocessing functions in models in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/using-custom-geoprocessing-functions-in-models/m-p/251395#M6477</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;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!).&amp;nbsp; 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?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Michael&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Motorola Solutions&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 03 Oct 2012 19:16:11 GMT</pubDate>
    <dc:creator>MichaelThompson</dc:creator>
    <dc:date>2012-10-03T19:16:11Z</dc:date>
    <item>
      <title>Using custom geoprocessing functions in models</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/using-custom-geoprocessing-functions-in-models/m-p/251395#M6477</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;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!).&amp;nbsp; 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?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Michael&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Motorola Solutions&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Oct 2012 19:16:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/using-custom-geoprocessing-functions-in-models/m-p/251395#M6477</guid>
      <dc:creator>MichaelThompson</dc:creator>
      <dc:date>2012-10-03T19:16:11Z</dc:date>
    </item>
  </channel>
</rss>

