ET GeoWizards Scripting
Order Fields
(Go to the main page of the function)
Exports a feature class to a new feature class. The user selects the fields to be exported and the order in which they will appear in the attribute table.
Syntax
Dim ET As New ETGW_Core
Set variable = ET.OrderFields(pInFeatureClass, sOutFileName, _
fieldDictionary, sMessage)
The OrderFields method syntax has the following object qualifier and arguments:
| Part | Description |
|---|---|
| variable | An IFeatureClass object |
| pInFeatureClass | Required. An IFeatureClass object |
| sOutFileName | Required. A String - the full name of the output feature class (A feature class with the same full name should not exist) |
| fieldDictionary | Required. A Scripting Dictionary object that defines the fields to be exported. The order of the fields in the dictionary will be the order of the fields in the attribute table of the output feature class. See the example for how to create the dictionary. |
| sMessage | Optional. In a case of failure - description of the cause. If the functions completes with success an empty string will be returned. |