that

Add line feature to polyline feature class - VB/VBA

Discussion created by that on Apr 14, 2011
Latest reply on Apr 15, 2011 by that
I am pulling my hair out on this one.  I have a polyline feature class and two points in a point shapefile.  I have the points set as IPoints in code.  I have the polyline set as an IPolyline.  I defined an IPath using the two IPoints as from and to points.  I have tried using the .AddGeometry function to add the two points as a path to my existing polyline layer with no luck.  Maybe I am not setting the feature class correctly to accept the geometry.  Maybe there is a better way?  Can someone please help me?

Thanks in advance!

Wood

Outcomes