<?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 How to change GP parameter value type dynamically? in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/how-to-change-gp-parameter-value-type-dynamically/m-p/688303#M18509</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm building custom geoprocessing tool where output value can be feature class or table with &lt;A href="http://desktop.arcgis.com/en/arcobjects/latest/net/gpfeatureschema.htm"&gt;GPFeatureSchema&lt;/A&gt;&amp;nbsp;as default schema. But the type of an output dataset depends on some option. In tool's &lt;A href="http://desktop.arcgis.com/en/arcobjects/latest/net/igpfunction2_updateparameters.htm"&gt;UpdateParameters&lt;/A&gt; method I change schema of the output parameter to &lt;A href="http://desktop.arcgis.com/en/arcobjects/latest/net/GPTableSchema.htm"&gt;GPTableSchema&lt;/A&gt; or to &lt;A href="http://desktop.arcgis.com/en/arcobjects/latest/net/gpfeatureschema.htm"&gt;GPFeatureSchema&lt;/A&gt;. But in Model Builder any tool after the my one always thinks that my tool produces feature classes. Is it possible to dynamically change type of schema so chained tools get right output information from my tool?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 17 Jan 2017 06:45:27 GMT</pubDate>
    <dc:creator>MaxMax2</dc:creator>
    <dc:date>2017-01-17T06:45:27Z</dc:date>
    <item>
      <title>How to change GP parameter value type dynamically?</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/how-to-change-gp-parameter-value-type-dynamically/m-p/688303#M18509</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm building custom geoprocessing tool where output value can be feature class or table with &lt;A href="http://desktop.arcgis.com/en/arcobjects/latest/net/gpfeatureschema.htm"&gt;GPFeatureSchema&lt;/A&gt;&amp;nbsp;as default schema. But the type of an output dataset depends on some option. In tool's &lt;A href="http://desktop.arcgis.com/en/arcobjects/latest/net/igpfunction2_updateparameters.htm"&gt;UpdateParameters&lt;/A&gt; method I change schema of the output parameter to &lt;A href="http://desktop.arcgis.com/en/arcobjects/latest/net/GPTableSchema.htm"&gt;GPTableSchema&lt;/A&gt; or to &lt;A href="http://desktop.arcgis.com/en/arcobjects/latest/net/gpfeatureschema.htm"&gt;GPFeatureSchema&lt;/A&gt;. But in Model Builder any tool after the my one always thinks that my tool produces feature classes. Is it possible to dynamically change type of schema so chained tools get right output information from my tool?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jan 2017 06:45:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/how-to-change-gp-parameter-value-type-dynamically/m-p/688303#M18509</guid>
      <dc:creator>MaxMax2</dc:creator>
      <dc:date>2017-01-17T06:45:27Z</dc:date>
    </item>
  </channel>
</rss>

