Copy Fields

Running programmatically

Copies fields from one dataset to another.



How to use:


Running Programmatically

(Go to TOP)


Expression Explanation
Function Name CopyFields
<input dataset> A String representing the input layer.
<Source 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 the fields (separated with ";") to be copied.

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[ETGWPath, "CopyFields", "input dataset", "Source Dataset", "output dataset", "Field List"])
.NET using ETGWRun.exe StartInfo.FileName = ETGWPath
StartInfo.Arguments = "CopyFields" "input dataset" "Source Dataset" "output dataset" "Field List"
.NET using ETGWOutX.dll CopyFields(input dataset, Source Dataset, output dataset,Field List)
ArcPy arcpy.CopyFields(input dataset, Source Dataset, output dataset,"Field List")


(Go to TOP)