Skip to main content

Add Subtype (Data Management Tools)

Summary

Adds a new subtype to the subtypes in the input table.

Usage

  • A field in the feature class or table must be assigned as the subtype field before new subtypes can be added. This is done using the Set Subtype Field tool.

  • If you add a subtype whose code already exists, the tool will return an error message.

  • If you need to change the name (also known as description) of an existing subtype, you would first have to remove the subtype, then add a new subtype with the same code and a new name.

  • You can also view and manage subtypes in Subtypes view which can be opened by clicking the Subtypes button found in the Design section of the Data ribbon, or by clicking the Subtypes button on the Fields view ribbon.

Parameters

Label Explanation Data type

Input Table

The feature class or table containing the subtype definition to be updated.

Table View

Subtype Code

A unique integer value for the subtype to be added.

Long

Subtype Name

A name (also known as description) of the subtype code.

String

Derived output

Label Explanation Data type

Updated Input Table

The updated table or feature class.

Table View

Environments

Auto Commit, Current Workspace

Licensing information

  • Basic: Yes
  • Standard: Yes
  • Advanced: Yes