Skip To Content

Transfer field domains, subtypes and attribute rules (Environment setting)

Tools that honor the Transfer field domain, subtypes, and attribute rules environment will have these properties transferred from the input dataset's fields to the output dataset's fields.

Usage notes

  • Transferring domains, subtypes, and attribute rules to the output of the geoprocessing operation will take more time (slower performance) than transferring only the domain and subtype codes. Only use this environment setting if domains, subtypes, and attribute rules are specifically needed in the output.

Dialog syntax

Transfer field domains, subtypes and attribute rules
  • Checked—Geodatabase field properties are transferred to the output.
  • Unchecked—Geodatabase field properties are not transferred to the output. This is the default.

Scripting syntax

arcpy.env.transferGDBAttributeProperties = True

transfer_domainsExplanation

False

Geodatabase field properties are transferred to the output.

True

Geodatabase field properties are not transferred to the output. This is the default.

transferGDBAttributeProperties syntax
import arcpy

# Set the transferGDBAttributeProperties environment to True
arcpy.env.transferGDBAttributeProperties = True

Related topics