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

Result

Parameters
| Expression | Explanation | 
|---|---|
| Function Name | EraseSingle | 
| <input dataset> | A String representing the input layer. | 
| <Erase 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, "EraseSingle", "input dataset", "Erase Dataset", "output dataset"]) | 
| .NET using ETGWRun.exe | StartInfo.FileName = ETGWPath StartInfo.Arguments = "EraseSingle" "input dataset" "Erase Dataset" "output dataset"  | 
    
| .NET using ETGWOutX.dll | EraseSingle(input dataset, Erase Dataset, output dataset) | 
| ArcPy | arcpy.EraseSingle(input dataset, Erase 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.