ET GeoWizards Scripting
Station Points
(Go to the main page of the function)
Creates equally spaced points based on the source polyline layer and the user specified distance between the points.
Syntax
Dim ET As New ETGW_Core
Set variable = ET.StationPoints(pInFeatureClass, sOutFileName, _
dStep, bAngle, pOutSref, sMessage)
The StationPoints method syntax has the following object qualifier and arguments:
| Part | Description |
|---|---|
| variable | An IFeatureClass object |
| pInFeatureClass | Required. An IFeatureClass object (must be a Polygon feature class) |
| sOutFileName | Required. A String - the full name of the output feature class (A feature class with the same full name should not exist) |
| dStep | Required. A Double representing the step with which the points will be stationed on the input polylines |
| bAngle | Required. A Boolean indicating whether the angle of the polyline at the station point will be included in the attribute table of the resulting point feature class |
| pOutSref | Required. A Spatial Reference object - the spatial reference of the output point feature class |
| sMessage | Optional. In a case of failure - description of the cause. If the functions completes with success an empty string will be returned. |