Open Table of Contents

Split By Attributes

Go to ToolBox Implementation Go to .NET Implementation

Splits a layer into separate datasets based on an the attribute values in the selected field




The naming of the output dataset is based on the Name field selected and the prefix.

ToolBox implementation
(Go to TOP)

Command line syntax

ET_GPSplitByAttributes <input_dataset> <out_folder> <name_field> {prefix}


Expression Explanation
<input_dataset> A Point, Polyline or Polygon feature class or feature layer
<out_folder> A String - the name of the output folder (must exist)
<name_field> A String - the name of a field from the input layer used for splitting and for generating the names of the output names
{prefix} A String - used for generating the names of the output feature classes

Scripting syntax

ET_GPSplitByAttributes (input_dataset, out_folder, name_field, prefix)

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

.NET implementation
(Go to TOP)

SplitByAttributes(pInFC As IFeatureClass, sOutWorkSpace As String, sField As String, Optional sPrefix As String = "") As Boolean

Copyright Ianko Tchoukanski