Batch Clip

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 BatchClip
<input datasets> A String - a list separated with ";" indicating the full paths to the datasets to be clipped.
<clip dataset> A String representing the clip 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 output 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, "BatchClip", "input datasets", "clip dataset", "output workspace", "Suffix"])
.NET using ETGWRun.exe StartInfo.FileName = ETGWPath
StartInfo.Arguments = "BatchClip" "input datasets"  "clip dataset" "output workspace" "Suffix"
.NET using ETGWOutX.dll BatchClip(input datasets, clip dataset, output workspace, Suffix)
ArcPy arcpy.BatchClip(input datasets, clip dataset, "output workspace", "Suffix")

Notes:

(Go to TOP)