Delete Multiple Fields

Running programmatically

Deletes multiple fields from a layer.

Inputs:

Outputs:

Running Programmatically

(Go to TOP)

Parameters

Expression Explanation
Function Name DeleteMultipleFields
<input dataset> A String representing the input layer.
<output dataset> A String - the full name of the output layer.
<Field List> A String representing a list of field names (separated by ";") to be deleted.

Running the function

ETGWPath used in the table below is the  full path to ETGWRun.exe (E.G. "C:\Program Files\ETSpatial Techniques\ETGeo Wizards\ETGWRun.exe")

Language Syntax
Python subprocess.call([ETGWPath, "DeleteMultipleFields", "input dataset", "output dataset", "Field List"])
.NET using ETGWRun.exe StartInfo.FileName = ETGWPath
StartInfo.Arguments = "DeleteMultipleFields" "input dataset" "output dataset" "Field List"
.NET using ETGWOutX.dll DeleteMultipleFields(input dataset, output dataset, Field List)
ArcPy arcpy.DeleteMultipleFields(input dataset, output dataset, "Field List")

Notes:

(Go to TOP)