Open Table of Contents

Select And Export

This function is not available via the GUI of ET GeoWizards.

Exports the features of a dataset to a new feature class based on an attribute query.

Command line syntax

ET_GPSelectAndExport <input_dataset> <out_feature class> {SQL_Expression}

Parameters

Expression Explanation
<input_dataset> A Point, Polyline or Polygon feature class or feature layer
<out_feature class> A String - the full name of the output feature class (A feature class with the same full name should not exist)
{SQL_Expression} A String - must be a valid SQL_Expression. The features selected by this expression will be exported to the <out_feature class>. If not used - all the features of the <input_dataset> will be exported to the <out_feature class>. To create an empty clone of the <input_dataset> set an expression that will not yield results.

Scripting syntax

ET_GPSelectAndExport (input_dataset, out_feature class, SQL_Expression)

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

.NET implementation

SelectAndExport(pInFC As IFeatureClass, sOutFName As String, sExpression As String) As IFeatureClass

Copyright © Ianko Tchoukanski