ET GeoWizards Scripting
Create Routes Distance
(Go to the main page of the function)
Creates routes by merging existing polylines that have the same common identifier using as measure the lengths of the source polylines
Syntax
Dim ET As New ETGW_Core
Set variable = ET.CreateRoutesDistance(pInFeatureClass, sOutFileName, _
sIdFieldName, sStart, bIgnoreGaps, pOutSRef, sMessage)
The CreateRoutesDistance 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 |
| 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. |