ET GeoWizards Scripting
Polyline To Point
(Go to the main page of the
function)
Converts a polyline data set to a point feature class.
Syntax
Dim ET As New ETGW_Core
Set variable = ET.PolylineToPoint(pInFeatureClass, sOutFileName, sExportOption,
bRemoveDuplicates)
The PolylineToPoint 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) |
| sOutFileName | Required. A String - the full name of the output feature class (A feature class with the same full name should not exist) |
| sExportOption | Required. A String - the export option to
be used. The available options are (Case
sensitive):
|
| bRemoveDuplicates | Required. A Boolean used only with sExportOption = "Vertex" and sExportOption = "Node" . If True the duplicate points representing coincident nodes will be removed. |
Polyline To Point 2
(Go to the main page of the
function)
Converts a polyline data set to a point feature class.
Syntax
Dim ET As New ETGW_Core
Set variable = ET.PolylineToPoint2(pInFeatureClass, sOutFileName, sExportOption,
bRemoveDuplicates, bAngle, bAngleAtFrom)
The PolylineToPoint 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) |
| sOutFileName | Required. A String - the full name of the output feature class (A feature class with the same full name should not exist) |
| sExportOption | Required. A String - the export option to
be used. The available options are (Case
sensitive):
|
| bRemoveDuplicates | Required. A Boolean used only with sExportOption = "Vertex" and sExportOption = "Node" . If True the duplicate points representing coincident nodes will be removed. |
| bAngle | Required. Indicates whether an angle attribute to be added to the point attribute table. |
| bAngleAtFrom | Required. Indicates from which polyline segment to be calculated the angle. True - from the start segment, False3 from the segment end. See the main page of the function for an example. |