Open Table of Contents

ET GeoWizards Scripting

Point To Point Z(M)
(Go to the main page of the function)

Converts a point data set to a pointZ or pointM feature class.

Syntax    

Dim ET As  New ETGW_Core
Set variable = ET.PointToPointZM(pInFeatureClass, sOutFileName, _
                                                sZFieldName, sZTyp, sMessage)

The PointToPointZM 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)
sZFieldName Required. A String  - the name (Case sensitive) of a Numeric (integer or double) field which values will be used for assigning Z(M) values to the output  points
sZTyp Required. A String - indicates the type of the output points. The available options are (Case sensitive): 
  • "Z" - the output will be PointZ
  • "M" - the output will be PointM
sMessage Optional. In a case of failure -  description of the cause. If the functions completes with success an empty string will be returned. 

Example