Clips a feature layer with the features of a polygon layer
Input Layers

Result

Parameters
| Expression | Explanation |
|---|---|
| Function Name | ClipSingle |
| <input dataset> | A String representing the input layer. |
| <Clip Dataset> | A String representing the layer to be merged. Must be of Polygon type. |
| <output dataset> | A String - the full name of the output layer. |
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, "ClipSingle", "input dataset", "Clip Dataset", "output dataset"]) |
| .NET using ETGWRun.exe | StartInfo.FileName = ETGWPath StartInfo.Arguments = "ClipSingle" "input dataset" "Clip Dataset" "output dataset" |
| .NET using ETGWOutX.dll | ClipSingle(input dataset, Clip Dataset, output dataset) |
| ArcPy | arcpy.ClipSingle(input dataset, Clip Dataset, "output dataset") |
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.