Creating subtypes
You can use ArcCatalog or the Catalog window to add subtypes and set default values and attribute domains for the fields of each subtype.
You can manage subtypes using the Properties dialog box for each table or feature class. You can define the subtype field, add new subtypes, and remove or modify existing subtypes.
Steps:
- In the Catalog tree, right-click the feature class or table to which you want to add subtypes.
- Click Properties.
- Click the Subtypes tab.
- Click the drop-down arrow and click the subtype field from the list of available long-integer fields.
- To add a new subtype, click the first empty field under Code and type an integer value that will be the code for that subtype.
- Press the TAB key or click the Description field and type a description for the subtype.
- For each field, type a default value in the appropriate field in the table.
- To associate an attribute domain with a field for the new subtype, click the Domain field, click the drop-down arrow, then click the domain from the list of domains.
- To set this subtype as the default subtype, click the drop-down arrow and choose it from the list of subtypes.
- Repeat steps 5 through 8 to add other subtypes. You can reset the default subtype at any time.
- When adding a new subtype, click Use Defaults to have your new subtype take all the default values and domains from the default subtype. You can then modify some or all of these.
- When you are finished creating your subtypes and have selected the default subtype, click Apply to create the new subtypes in the geodatabase or click OK to create the subtypes and close the dialog box.
Only those domains that apply to this field type are displayed in the list.
![Tip Tip](rsrc/tip.png)
The subtype field must be a long- or short-integer field. If you have no subtype field selected, you will not be able to add subtypes.
![Tip Tip](rsrc/tip.png)
The default subtype serves two purposes: (1) When you create a new subtype, click Use Defaults, and the subtype will inherit all the default values and domains for its fields from the default subtype. These can then be modified to meet the requirements for the new subtype. As you add subtypes, the default subtype can be changed at any time. (2) When you create a new feature in the feature class without specifying a subtype, it will automatically be assigned the default subtype.
Related Topics
2/10/2012