Go to ET GeoWizards 12.x User Guide

Split By Attributes

Go to ToolBox 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

Copyright Ianko Tchoukanski