<?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 Returning a feature class as an output parameter ArcObjects Toolbox Tool in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/returning-a-feature-class-as-an-output-parameter/m-p/69635#M1872</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've been working on writing some ArcObjects tools for use in a toolbox that will ultimately be published to ArcGIS Server. I'm having some trouble in an attempt to return a feature class as a parameter. I've attempted to use the SetParamaterValue() in the IGeoProcessor2 interface to return it, however it will consistently crash the toolbox in Arc when I set it to expect an output feature class. I can't seem to find any documentation for doing this in ArcObjects .NET aside from returning strings. I know it can be done in ArcPy, so I assume there is a way in ArcObjects .NET.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 14 Nov 2011 17:33:24 GMT</pubDate>
    <dc:creator>AaronHigh</dc:creator>
    <dc:date>2011-11-14T17:33:24Z</dc:date>
    <item>
      <title>Returning a feature class as an output parameter ArcObjects Toolbox Tool</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/returning-a-feature-class-as-an-output-parameter/m-p/69635#M1872</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've been working on writing some ArcObjects tools for use in a toolbox that will ultimately be published to ArcGIS Server. I'm having some trouble in an attempt to return a feature class as a parameter. I've attempted to use the SetParamaterValue() in the IGeoProcessor2 interface to return it, however it will consistently crash the toolbox in Arc when I set it to expect an output feature class. I can't seem to find any documentation for doing this in ArcObjects .NET aside from returning strings. I know it can be done in ArcPy, so I assume there is a way in ArcObjects .NET.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Nov 2011 17:33:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/returning-a-feature-class-as-an-output-parameter/m-p/69635#M1872</guid>
      <dc:creator>AaronHigh</dc:creator>
      <dc:date>2011-11-14T17:33:24Z</dc:date>
    </item>
    <item>
      <title>Re: Returning a feature class as an output parameter ArcObjects Toolbox Tool</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/returning-a-feature-class-as-an-output-parameter/m-p/69636#M1873</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Aaron,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I dabbled in developing a geoprocessing tool a few years ago in 9.3 as a way of teaching myself.&amp;nbsp; Didn't get very far!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have some vague memory that I had to "pack" my parameters. Look at the IGPUtilities interface and &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;PackGPValue&lt;/SPAN&gt;&lt;SPAN&gt; method? Just an idea...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Duncan&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Nov 2011 15:39:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/returning-a-feature-class-as-an-output-parameter/m-p/69636#M1873</guid>
      <dc:creator>DuncanHornby</dc:creator>
      <dc:date>2011-11-16T15:39:18Z</dc:date>
    </item>
  </channel>
</rss>

