Batch Erase

Running programmatically

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



Running Programmatically

(Go to TOP)


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[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")


(Go to TOP)