Batch Erase

Running programmatically

Clips a batch of feature layers with the features of a polygon layer

Inputs:

Outputs:

Running Programmatically

(Go to TOP)

Parameters

Expression Explanation
Function Name BatchErase
<input datasets> A String - a list separated with ";" indicating the full paths to the datasets to be clipped.
<clip dataset> A String representing the Erase layer. Must be of Polygon type.
<output workspace> A String - the full name of the output folder (for shapefiles) or File GDB.
{Suffix} A String representing the suffix added to the erase datasets.

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, "BatchErase", "input datasets",  "erase dataset", "output workspace", "Suffix"])
.NET using ETGWRun.exe StartInfo.FileName = ETGWPath
StartInfo.Arguments = "BatchErase" "input dataset"  "erase dataset" "output workspace" "Suffix"
.NET using ETGWOutX.dll BatchErase(input dataset, erase dataset, output workspace, Suffix)
ArcPy arcpy.BatchErase(input dataset, erase dataset, "output workspace", "Suffix")

Notes:

(Go to TOP)