Open Table of Contents

ET GeoWizards Scripting

Merge Multiple Datasets
(Go to the main page of the function)

Merges feature layers from the same type together.. Preserves Z/M dimension 

Syntax    

Dim ET As  New ETGW_Core
Set variable =  ET.MergeMulti(pBaseFeatureClass, pFCArray, sOutFName, sMessage)

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

Part Description
variable An IFeatureClass object
pBaseFeatureClass Required. An IFeatureClass object (Point, PointZ, PointM, Polyline, PolylineZ, PolylineM, Polygon, PolygonZ, PolygonM  feature class)
pFCArray Required. An array of IFeatureClass objects (All feature classes must have the same geometry type as pBaseFeatureClass). The attributes will be retained if the field names are the same as the fields of  pBaseFeatureClass
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