Using Construct Points on all lines in shapefile using ArcPy?

I made a custom Create Points on Lines Toolbox you can download here:

Create Points on Lines Toolbox

View the Source Code

The tool creates points on lines at a specified distance, interval, or percentage value. The value can be fixed or field based. There is also an option to add the starting point, end point, or both to the output Point feature class.

You can also choose a Starting Location. So, if you want a point created 10 feet from the end of the line, change the Starting Location parameter to END.

The output Point feature class contains a field called LineOID, which is the OID of the line the point was created from. This allows data to be joined back to the point. There is also a field called Value, which contains the value that was used to create the point.

Here's a screenshot of the parameters: enter image description here

Tags:

Editing

Arcpy