<?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: What kind of data type for 'input features' in tools? in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/what-kind-of-data-type-for-input-features-in-tools/m-p/451567#M12269</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Then how do I input multiple shape files? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For example, if I want to intersect with two features, base.shp and area.shp ? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Hello,&lt;BR /&gt;&lt;BR /&gt;The Input Features parameter (or property of the PointsToLine class) takes a string value representing a featureclass or shapefile on disc, &lt;BR /&gt;e.g. @"C:\MyShapefiles\myPoints.shp" or @"C:\MyGeodatabases\myGeodatabase.gdb\myPointsFC&lt;BR /&gt;&lt;BR /&gt;You should be able to also specify an object (ArcObjects), like objects of type IFeatureLayer, IDataset, IFeatureClass.&amp;nbsp; I am not sure if you can specify a geometry bag (IGeometryBag type object) or geometry collection (IGeometryCollection type object) or feature cursor (IFeatureCursor type object) but it may be possible.&amp;nbsp; If you get an exception upon specifying all of those, one at a time, of course, then that may not be possible.&lt;BR /&gt;&lt;BR /&gt;Using ArcObjects as tool input&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/sdk/10.0/arcobjects_net/conceptualhelp/index.html#/Using_ArcObjects_as_tool_input/00010000041n000000/"&gt;http://help.arcgis.com/en/sdk/10.0/arcobjects_net/conceptualhelp/index.html#/Using_ArcObjects_as_tool_input/00010000041n000000/&lt;/A&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 10 May 2012 23:29:01 GMT</pubDate>
    <dc:creator>InsuHong1</dc:creator>
    <dc:date>2012-05-10T23:29:01Z</dc:date>
    <item>
      <title>What kind of data type for 'input features' in tools?</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/what-kind-of-data-type-for-input-features-in-tools/m-p/451565#M12267</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 have a difficulty with ArcObject .net. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;
PointsToLine P2Line = new PointsToLine();

P2Line.Input_Features = something; 

&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I tried to make a line from two points. So I created P2Line for that, but I failed to input a list of point features. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I tried Array of strings which are name of layers, and Array of FeatureClasses, and List of Layer names and FeatureClasses, but all of them failed. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;How can I input list of point features properly? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm completely new on ArcObject. I'm just researcher who try to use it, not developer. So it would be appreciate to explain easily as possible. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 May 2012 21:17:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/what-kind-of-data-type-for-input-features-in-tools/m-p/451565#M12267</guid>
      <dc:creator>InsuHong1</dc:creator>
      <dc:date>2012-05-10T21:17:33Z</dc:date>
    </item>
    <item>
      <title>Re: What kind of data type for 'input features' in tools?</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/what-kind-of-data-type-for-input-features-in-tools/m-p/451566#M12268</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;The Input Features parameter (or property of the PointsToLine class) takes a string value representing a featureclass or shapefile on disc, &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;e.g. @"C:\MyShapefiles\myPoints.shp" or @"C:\MyGeodatabases\myGeodatabase.gdb\myPointsFC&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You should be able to also specify an object (ArcObjects), like objects of type IFeatureLayer, IDataset, IFeatureClass.&amp;nbsp; I am not sure if you can specify a geometry bag (IGeometryBag type object) or geometry collection (IGeometryCollection type object) or feature cursor (IFeatureCursor type object) but it may be possible.&amp;nbsp; If you get an exception upon specifying all of those, one at a time, of course, then that may not be possible.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Using ArcObjects as tool input&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/sdk/10.0/arcobjects_net/conceptualhelp/index.html#/Using_ArcObjects_as_tool_input/00010000041n000000/"&gt;http://help.arcgis.com/en/sdk/10.0/arcobjects_net/conceptualhelp/index.html#/Using_ArcObjects_as_tool_input/00010000041n000000/&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 May 2012 22:41:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/what-kind-of-data-type-for-input-features-in-tools/m-p/451566#M12268</guid>
      <dc:creator>EdgarBejarano</dc:creator>
      <dc:date>2012-05-10T22:41:29Z</dc:date>
    </item>
    <item>
      <title>Re: What kind of data type for 'input features' in tools?</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/what-kind-of-data-type-for-input-features-in-tools/m-p/451567#M12269</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Then how do I input multiple shape files? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For example, if I want to intersect with two features, base.shp and area.shp ? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Hello,&lt;BR /&gt;&lt;BR /&gt;The Input Features parameter (or property of the PointsToLine class) takes a string value representing a featureclass or shapefile on disc, &lt;BR /&gt;e.g. @"C:\MyShapefiles\myPoints.shp" or @"C:\MyGeodatabases\myGeodatabase.gdb\myPointsFC&lt;BR /&gt;&lt;BR /&gt;You should be able to also specify an object (ArcObjects), like objects of type IFeatureLayer, IDataset, IFeatureClass.&amp;nbsp; I am not sure if you can specify a geometry bag (IGeometryBag type object) or geometry collection (IGeometryCollection type object) or feature cursor (IFeatureCursor type object) but it may be possible.&amp;nbsp; If you get an exception upon specifying all of those, one at a time, of course, then that may not be possible.&lt;BR /&gt;&lt;BR /&gt;Using ArcObjects as tool input&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/sdk/10.0/arcobjects_net/conceptualhelp/index.html#/Using_ArcObjects_as_tool_input/00010000041n000000/"&gt;http://help.arcgis.com/en/sdk/10.0/arcobjects_net/conceptualhelp/index.html#/Using_ArcObjects_as_tool_input/00010000041n000000/&lt;/A&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 May 2012 23:29:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/what-kind-of-data-type-for-input-features-in-tools/m-p/451567#M12269</guid>
      <dc:creator>InsuHong1</dc:creator>
      <dc:date>2012-05-10T23:29:01Z</dc:date>
    </item>
  </channel>
</rss>

