Tools that honor the Transfer field domains, subtypes and attribute rules environment setting control the transfer of geodatabase attributes.
- Transferring domain, 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 domain, subtypes, and attribute rules are specifically needed in the output.
Dialog syntaxTransfer field domains, subtypes and attribute rules
- Checked—Geodatabase attributes are transferred.
- Unchecked—Geodatabase attributes are not transferred. This is the default.
arcpy.env.transferGDBAttributeProperties = True
Geodatabase attributes are transferred.
Geodatabase attributes are not transferred. This is the default.
import arcpy # Set the transferGDBAttributeProperties environment to True arcpy.env.transferGDBAttributeProperties = True