Open Table of Contents

ET GeoWizards Scripting

EraseIt
(Go to the main page of the function)

Erases a feature layer  with the features of a polygon layer.

Syntax

Dim ET As  New ETGW_Core
Set variable =  ET.EraseIt(pInFeatureClass, pEraseFeatureClass, sOutFileName, dFuzzyTol, sMessage)

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

Part Description
variable An IFeatureClass object
pInFeatureClass Required. An IFeatureClass object (Point, Polyline or Polygon  feature class)
pEraseFeatureClass Required. An IFeatureClass object (Must be a Polygon feature class). The t features of this feature class will be used for erasing
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