Points along line construction tool


PurposeThis sample shows an example of a construction tool. It is a point construction tool that creates points along a sketch line for either a fixed number of points or a certain distance between points.

How to use

See How to use ArcGIS samples for help on compiling, setting up the debugger, and running the sample. If the sample has associated data, you will find that the sample's zip file includes a "data" folder alongside the language folders. However, you will need to update the sample to point to the location of the data once you have extracted all the files.

  1. Start ArcMap and add an editable point layer.
  2. Start editing and select a point layer in the Feature Templates dialog box.
  3. Select the Points along line construction tool from the construction tools pane.
  4. Sketch a line on the map using the shape constructors.
  5. Finish the sketch, and enter how the points will be created in the dialog box.

PointsAlongLineTool.cs Tool definition.
PointsAlongLineForm.cs Form definition.
Download the C# files
PointsAlongLineTool.vb Tool definition.
PointsAlongLineForm.vb Form definition.
Download the VB.NET files

Download the files for all languages

See Also:

Editor framework customizations




Development licensing Deployment licensing
ArcGIS for Desktop Basic ArcGIS for Desktop Basic
ArcGIS for Desktop Standard ArcGIS for Desktop Standard
ArcGIS for Desktop Advanced ArcGIS for Desktop Advanced