<?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 Re: Geoprocessing arcobjects Intersect in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/geoprocessing-arcobjects-intersect/m-p/316482#M8267</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have tried passing in an array but it still throws an exception. Could you write down the syntax please? I am doing the following. IFeatureClass [] inputfeturesArr = new IFeatureClass [2] inputfeturesArrp[0] = FClass1; inputfeturesArr[1] = FClass2; Regards, Nigel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 03 Nov 2015 03:43:06 GMT</pubDate>
    <dc:creator>NigelDsouza</dc:creator>
    <dc:date>2015-11-03T03:43:06Z</dc:date>
    <item>
      <title>Geoprocessing arcobjects Intersect</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/geoprocessing-arcobjects-intersect/m-p/316480#M8265</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have no idea as to how do I pass multiple input features to the intersect tool.&lt;/P&gt;&lt;P&gt;Here is my code&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Nigel&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;Geoprocessor pGp = new Geoprocessor();

&amp;nbsp; IFeatureClass pGDMFclass = pGDMFLayer.FeatureClass;

 IFeatureClass pZoneFclass = pZoneFLayer.FeatureClass;



&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Intersect pIntersect = new Intersect();
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //Pass more than one feature&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; pIntersect.in_features = pZoneFclass;
&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; pIntersect.join_attributes = "ALL";
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; pIntersect.output_type = "INPUT";
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IWorkspace pWs = pFWS as IWorkspace;


&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; string path = pWs.PathName + "\\" + "TEST";


&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; pIntersect.out_feature_class = path;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; pGp.OverwriteOutput = true;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; pGp.Execute(pIntersect, null);&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 15:03:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/geoprocessing-arcobjects-intersect/m-p/316480#M8265</guid>
      <dc:creator>NigelDsouza</dc:creator>
      <dc:date>2021-12-11T15:03:00Z</dc:date>
    </item>
    <item>
      <title>Re: Geoprocessing arcobjects Intersect</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/geoprocessing-arcobjects-intersect/m-p/316481#M8266</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can either put your feature classes into an array or pass a semi-colon delimited string into the parameter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Update..did a quick search in the documentation and came across this page.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;How to use multiple inputs&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;A href="http://resources.arcgis.com/en/help/arcobjects-net/conceptualhelp/index.html#/How_to_use_multiple_inputs/0001000003m8000000/" title="http://resources.arcgis.com/en/help/arcobjects-net/conceptualhelp/index.html#/How_to_use_multiple_inputs/0001000003m8000000/"&gt;http://resources.arcgis.com/en/help/arcobjects-net/conceptualhelp/index.html#/How_to_use_multiple_inputs/0001000003m8000000/&lt;/A&gt; &lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Nov 2015 17:39:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/geoprocessing-arcobjects-intersect/m-p/316481#M8266</guid>
      <dc:creator>FreddieGibson</dc:creator>
      <dc:date>2015-11-02T17:39:14Z</dc:date>
    </item>
    <item>
      <title>Re: Geoprocessing arcobjects Intersect</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/geoprocessing-arcobjects-intersect/m-p/316482#M8267</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have tried passing in an array but it still throws an exception. Could you write down the syntax please? I am doing the following. IFeatureClass [] inputfeturesArr = new IFeatureClass [2] inputfeturesArrp[0] = FClass1; inputfeturesArr[1] = FClass2; Regards, Nigel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Nov 2015 03:43:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/geoprocessing-arcobjects-intersect/m-p/316482#M8267</guid>
      <dc:creator>NigelDsouza</dc:creator>
      <dc:date>2015-11-03T03:43:06Z</dc:date>
    </item>
  </channel>
</rss>

