Open Table of Contents

ET GeoWizards Scripting

ConnectPoints
(Go to the main page of the function)

Connects with lines each point from a point dataset to every other point from the same dataset that is closer to the point than the user defined cut off distance. 

Syntax

Dim ET As  New ETGW_Core
Set variable =  ET.
ConnectPoints(pInFeatureClass,  sOutFileName, dToleranc, sMessage)

The ConnectPoints method syntax has the following object qualifier and arguments:

Part Description
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)
dTolerance Required. A tolerance representing the Cutoff distance.
sMessage Optional. In a case of failure -  description of the cause. If the functions completes with success an empty string will be returned. 

Example