ET GeoWizards Scripting
MeasurePoints
(Go to the main page of the function)
Uses a reference PolylineM(Z) layer to assign measure attributes to the points from a point layer. Allows transfer of any additional attributes. The M/Z value is interpolated from the closest polyline within the user specified search tolerance
Syntax
Dim ET As New ETGW_Core
Set variable = ET.MeasurePoints(pInFeatureClass, pReferenceFeatureClass, _
sOutFileName, dSearchTol, pMapSref)
The MeasurePoints 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 (Must be a PolylineM(Z) 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) |
| dSearchTol | Required. A Double representing the Search tolerance (in the units of the pMapSref) to be used |
| pMapSref | Required. A Spatial reference object which distance unit will be used for calculation. |