Open Table of Contents

Batch Erase

Go to ToolBox Implementation Go to .NET Implementation

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

Inputs:

Outputs:

ToolBox implementation
(Go to TOP)

Command line syntax

ET_GPBatchErase <input_dataset;input_dataset;...> <erase_dataset> <out_workspace> {suffix} {fuzzy_tolerance}

Parameters

Expression Explanation
<input_dataset;input_dataset;...> A list of Point, Polyline or Polygon feature classes or feature layers
<erase_dataset> A Polygon feature class or feature layer.
NOTE: The spatial references of <erase_dataset> and all input_datasets must have the same Geographic Coordinate System
<out_workspace> A String - the full name of the output feature workspace. Examples:
  • "c:\00\test_pgdb.mdb" - for Personal Geodatabase
  • "c:\00\results" - for shapefiles
 {suffix}  A String - used for generating the names of the output feature classes
{fuzzy_tolerance}  A Double representing  the Fuzzy tolerance (in the units of the input dataset) to be used

Scripting syntax

ET_GPBatchErase (input_datasets, erase_dataset, out_workspace, suffix, fuzzy_tolerance)

See the explanations above:
<> - required parameter
{} - optional parameter

.NET implementation
(Go to TOP)

BatchErase(pFCArray() As IFeatureClass, pEraseFC As IFeatureClass, sOutWorkSpace As String, Optional sSuffix As String = "", Optional dFuzzy As Double = 0) As Boolean

Copyright Ianko Tchoukanski