PointsToLine P2Line = new PointsToLine(); P2Line.Input_Features = something;
Hello,The Input Features parameter (or property of the PointsToLine class) takes a string value representing a featureclass or shapefile on disc, e.g. @C:\MyShapefiles\myPoints.shp or @C:\MyGeodatabases\myGeodatabase.gdb\myPointsFCYou should be able to also specify an object (ArcObjects), like objects of type IFeatureLayer, IDataset, IFeatureClass. 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. If you get an exception upon specifying all of those, one at a time, of course, then that may not be possible.Using ArcObjects as tool inputhttp://help.arcgis.com/en/sdk/10.0/arcobjects_net/conceptualhelp/index.html#/Using_ArcObjects_as_tool_input/00010000041n000000/
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.