Open Table of Contents

ET GeoWizards Scripting

Remove Exact Duplicates
(Go to the main page of the function)

Removes features with exactly the same shape from a Point, Polyline or Polygon dataset. If a reference dataset is specified, all the features from the input dataset that have exactly the same shapes with a feature from the reference dataset will be excluded from the output.

Syntax    

Dim ET As  New ETGW_Core
Set variable =  ET.RemoveExactDuplicates(pInFeatureClass,pReferenceFeatureClass, _
                                                                                      sOutFileName, sMessage)

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

Part Description
variable An IFeatureClass object
pInFeatureClass Required. An IFeatureClass object (Point, Polyline or Polygon)
sOutFileName Required. A String - the full name of the output feature class (A feature class with the same full name should not exist)
pReferenceFeatureClass Optional. An IFeatureClass object (must have the same shape type as pInFeatureClass). 
sMessage Optional. In a case of failure -  description of the cause. If the functions completes with success an empty string will be returned. 

Example