Points Along Polylines

Running programmatically

Creates points along the polylines of the input dataset.

Inputs:

Outputs:

Notes:

Examples:

Points Along Polylines

Two Point datasets created

RIGHT:

LEFT:

Running Programmatically

(Go to TOP)

Parameters

Expression Explanation
Function Name PointsAlongPolylines
<input dataset> A String representing the input layer. Must be of Polyline type.
<output dataset> A String - the full name of the output layer.
<Relative Distance> A Double representing distance between the station lines.
<Side> Required. A String -This parameter defines on which side of the polyline the station lines will be created:
  • "Both"
  • "Left".
  • "Right"
{Offset} A Double representing the Offset of the points created from the input polylines.

Running the function

ETGWPath used in the table below is the full path to ETGWRun.exe (E.G. "C:\Program Files\ETSpatial Techniques\ETGeo Wizards\ETGWRun.exe")

Language Syntax
Python subprocess.call( [ETGWPath, "PointsAlongPolylines", "input dataset", "output dataset", "Relative Distance", "Side", "Offset From"])
.NET using ETGWRun.exe StartInfo.FileName = ETGWPath
StartInfo.Arguments = "PointsAlongPolylines" "input dataset" "output dataset" "Relative Distance" "Side" "Offset"
.NET using ETGWOutX.dll PointsAlongPolylines(input dataset, output dataset, Relative Distance, Side, Offset)
ArcPy arcpy.PointsAlongPolylines(input dataset, output dataset , "Relative Distance", "Side", "Offset")

Notes:

(Go to TOP)