start and end points of a polyline

5173
2
12-13-2011 12:35 PM
JQLi
by
New Contributor
Hello,

     The shapefile I work with is a polyline. I would get start and end points of a polyline (say using VBA). Then, I can get ID, X, and Y information from start and end points. Can someone give me some suggestions on how to get start and end points of a polyline? Thanks a lot!
0 Kudos
2 Replies
RobertHu
New Contributor II
You can use "Feature Vertices To Points" GP tool with "BOTH_ENDS" option to create a point FC which only contains polyline start and end points.
0 Kudos
LeAnneRoy
New Contributor
I think this is what I'm looking for but, what is GP Tool, where can I find the "BOTH_ENDS," and what is FC?

You can use "Feature Vertices To Points" GP tool with "BOTH_ENDS" option to create a point FC which only contains polyline start and end points.
0 Kudos