Open Table of Contents

ET GeoWizards Scripting

SymmetricalDifference
(Go to the main page of the function)

Calculates the geometric intersection of the input polygon feature classes. Creates a polygon feature class that contains the areas of both input datasets that do not overlap.

Syntax

Dim ET As  New ETGW_Core
Set variable =  ET.SymmetricalDifference(pFeatureClass1, pFeatureClass2, sOutFileName, dFuzzyTol, sMessage)

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

Part Description
variable An IFeatureClass object
pFeatureClass1 Required. An IFeatureClass object (Must be a Polygon  feature class)
pFeatureClass2 Required. An IFeatureClass object (Must be a Polygon 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)
dFuzzyTol Required. A Double representing  the Fuzzy tolerance (in the units of the input dataset) to be used
sMessage Optional. In a case of failure -  description of the cause. If the functions completes with success an empty string will be returned. 

Example