ET GeoWizards Scripting
Snap Points
(Go to the main page of the function)
Snaps the features of a point feature class to another feature class (Point, Polyline or Polygon)
Syntax
Dim ET As New ETGW_Core
Set variable = ET.SnapPoints(pInFeatureClass , pReferenceFeatureClass, _
sOutFileName, dSnapTol, bVertex, bNearest, sMessage)
The SnapPoints 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) |
| pReferenceFeatureClass | Required. An IFeatureClass object (a Point, Polyline or 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) |
| dSnapTol | Required. A Double representing the snap tolerance |
| bVertex | Required. A Boolean indicating whether snapping to the closest vertex of the nearest feature from the pReferenceFeatureClass to be used |
| bNearest | Required. A Boolean indicating whether snapping to the nearest point of the nearest feature from the pReferenceFeatureClass to be used |
| sMessage | Optional. In a case of failure - description of the cause. If the functions completes with success an empty string will be returned. |