Open Table of Contents

ET GeoWizards Scripting

Batch Erase
(Go to the main page of the function)

Clips a  batch of feature classes with the features of a polygon feature class

Syntax    

Dim ET As  New ETGW_Core
Set variable = 
ET.BatchClip(pFCArray, pClipFC, sOutWS, _
                                                           fTol, sSuffix, sMessage)

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

Part Description
variable A Boolean representing the status of the completion of the operation
pFCArray Required. An array of  IFeatureClass objects (see example)
pClipFC Required. An IFeatureClass object (must be a Polygon feature class). 
sOutWS Required. A String - the full name of the output feature workspace. Examples:
  • "c:\00\test_pgdb.mdb" - for Personal Geodatabase
  • "c:\00\results" - for feature classes
fTol Required. A Double representing the fuzzy tolerance
sSuffix Required. A String - used for generating the names of the output feature classes
sMessage Optional. In a case of failure -  description of the cause. If the functions completes with success an empty string will be returned. 

Example