Open Table of Contents

ET GeoWizards Scripting

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

Finds the gaps between polygons and holes within polygons and fills them with new polygons.

Syntax

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

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

Part Description
variable An IFeatureClass object
pInFeatureClass 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)
sMessage Optional. In a case of failure -  description of the cause. If the functions completes with success an empty string will be returned. 

Example