ET GeoWizards Scripting
Lines from Points Direction and Distance
(Go to the main page of the
function)
Creates single segmented polylines from a point dataset that has in the attribute table fields which values represent direction and distance from each point to the target point.
Syntax
Dim ET As New ETGW_Core
Set variable = ET.LinesFromPointsDirectionDistance(pInFeatureClass, sOutFileName, _
sDistField, sDirField, sDirType, sDirUnits, sMessage)
The LinesFromPointsDirectionDistance method syntax has the following object qualifier and arguments:
| Part | Description |
|---|---|
| variable | An IFeatureClass object |
| pInFeatureClass | Required. An IFeatureClass object (Must be a Point 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) |
| sDistField | Required. A String representing the name of a field in the in the attribute table of the input dataset field name. The field has the values for the lengths of the lines to be created. |
| sDirField | Required. A String representing the name of a field in the in the attribute table of the input dataset field name. The field has the values for the directions of the lines to be created. |
| sDirType | Required. A String - the type of the output angle for the direction of
the segments. The available options are (Case
sensitive):
|
| sDirUnits | Required. A String - the units of the output angle for the direction of
the segments. The available options are (Case
sensitive):
|
| sMessage | Optional. In a case of failure - description of the cause. If the functions completes with success an empty string will be returned. |