This is an answer to PolyGeo well-taken suggestions..code for feature vertices to points..via http://eaglemap.com/blog/bid/48522/Using-ArcMap-to-Load-APDM-PODS-ESRI-Spatial-ControlPoint-Features
for the hoi polloi..if you read through their blog
import arcpy
inputPolylineFeatureLayer = arcpy.GetParameterAsText(0)
outputPointFeatureClass = arcpy.GetParameterAsText(1)
outName = outputPointFeatureClass.split("\\")[-1]
outPath = "\\".join(outputPointFeatureClass.split("\\")[:-1])
arcpy.CreateFeatureclass_management(outPath, outName, "POINT",
inputPolylineFeatureLayer, \
"SAME_AS_TEMPLATE", "SAME_AS_TEMPLATE", inputPolylineFeatureLayer)
outputFields = arcpy.ListFields(outputPointFeatureClass)
inPolylineRows = arcpy.SearchCursor(inputPolylineFeatureLayer)
outPointRows = arcpy.InsertCursor(outputPointFeatureClass)
for inPolylineRow in inPolylineRows:
inPolyline = \
inPolylineRow.getValue(arcpy.Describe(inputPolylineFeatureLayer).shapeFieldName)
partCount = inPolyline.partCount
partNum = 0
while partNum < partCount:
pntArray = inPolyline.getPart(partNum)
pntCount = pntArray.count
pntNum = 0
while pntNum < pntCount:
outPointRow = outPointRows.newRow()
outPointRow.setValue("Shape", pntArray.getObject(pntNum))
for field in outputFields:
if field.type <> "Geometry" and field.type <> "OID":
outPointRow.setValue(field.name, inPolylineRow.getValue(field.name))
outPointRows.insertRow(outPointRow)
pntNum = pntNum + 1
partNum = partNum + 1
del outPointRow, outPointRows, inPolylineRow, inPolylineRows