ET GeoWizards Scripting
Create Routes Single Field
(Go to the main page of the function)
Creates routes by merging existing polylines that have the same common identifier using as measure the values in a single numeric field
Syntax
Dim ET As New ETGW_Core
Set variable = ET.CreateRoutesSingleField(pInFeatureClass, sOutFileName, _
sIdFieldName, sStart, bIgnoreGaps, sMFieldName, pOutSRef, sMessage)
The CreateRoutesSingleField method syntax has the following object qualifier and arguments:
| Part | Description |
|---|---|
| variable | An IFeatureClass object |
| pInFeatureClass | Required. An IFeatureClass object (Must be a Polyline feature class) - the polyline dataset that will be used for creating routes |
| sOutFileName | Required. A String - the full name of the output feature class (A feature class with the same full name should not exist) |
| sIdFieldName | Required. A String - the name of the route Identifier field |
| sStart | Required. A String representing the Coordinate Priority. This parameter defines the direction of the output routes and the order in which the original polylines will participate in the route . The values of the items can be "ll", "lr", "ul", "ur" - case sensitive |
| bIgnoreGaps | Required. A Boolean - see the main page of the function for details |
| sMFieldName | Required. A String - the name of the numeric field which values will be used for measures |
| pOutSRef | Required. An ISpatialReference object - the spatial reference of the output route feature class - must have the same geographic coordinate system as pInFeatureClass |
| sMessage | Optional. In a case of failure - description of the cause. If the functions completes with success an empty string will be returned. |