Please any body help me for creating lines from points in electric network for instance electric poles are there in point feature with "polename" field like "P01", "P02", "P03" etc. I need a tool that create lines on Target (Feature Class) from P01 to P02 then P02 to P03 in continue.
This link points to an ArcScript on ESRI's website. It is a python script that looks like it was turned into the tool that @PolyGeo references in ArcGIS 10.
It requires that you have an ID field that links the points you want to convert to lines, so you will have the following:
Point Name ID
The key is that if you want PO1 to also appear in Line 2, you will have to repeat it in the shapefile like this:
Here is the link to that ArcScript: Points to Lines
There used to be a script that took this a step further and used 2 files. The first was a point feature class like above, where each point had a unique identifier. The 2nd file was a table that defined the lines based on point id's:
ID Start End