Deletes multiple fields from a layer.
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. |
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:
<> - required parameter
{} - optional parameter
The argument separator for StartInfo.Arguments is space. If a string might contain a space, you need to double quote it.