Open Table of Contents

ET GeoWizards Scripting

Clean Polyline2
(Go to the main page of the function)

Ensures topological correctness of a polyline feature data set.

Syntax    

Dim ET As  New ETGW_Core
Set variable =
ET.CleanPolyline2(pInFeatureClass, sOutFileName,fTol, bDup, _ 
                                              sDupFileName, pDupFeatureClass, sMessage)

The CleanPolyline2 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)
fTol Required. A Double representing  the Fuzzy tolerance (in the units of the input dataset) to be used
bDup Required. A Boolean. If TRUE a polyline feature class indicating duplicated segments in the pInFeatureClass will be created
sDupFileName Optional. A String - the full name of the duplicates feature class (A feature class with the same full name should not exist)
pDupFeatureClass Optional. An IFeatureClass object. Returns the duplicates feature class
sMessage Optional. In a case of failure -  description of the cause. If the functions completes with success an empty string will be returned. 

Example