laptop and a wrench

Bug

The CopyFeatures_management() tool does not copy over the domains when using a feature layer or feature class with domain values as the input for the tool.

Zuletzt veröffentlicht: July 2, 2019 ArcGIS Pro
Bug-ID-Nummer BUG-000123119
EingereichtJune 18, 2019
Zuletzt geändertJune 5, 2024
Gilt fürArcGIS Pro
Gefunden in Version2.3.3
BetriebssystemWindows OS
Betriebssystemversion10.0 64 Bit
StatusWill Not Be Addressed

Zusätzliche Informationen

This behavior is as intended/as designed. CopyFeatures is intended as a lightweight feature by feature transfer without any additional higher order objects from the geodatabase (subtypes, domains, etc). By being more narrow and lighter weight, it is a bit faster. If the desire is to have all the associated geodatabase objects be copied across, that is the purpose of the FeatureClassToFeatureClass tool, as well as the Copy tool.

Workaround

Use the copy command from the context menu options to directly copy over the feature class to the new file geodatabase within the Catalog pane. https://pro.arcgis.com/en/pro-app/help/data/geodatabases/overview/copy-feature-datasets-classes-and-tables-to-another-geodatabase.htm#GUID-83B928E7-BA8C-4E10-BF74-2D4A97C452C9This issue is not reproducible with the FeatureClassToFeatureClass_conversion() tool. Use the 'FeatureClassToFeatureClass_conversion()' to copy the feature class with domains to the new file geodatabase. The issue is not reproducible in ArcMap 10.7. Running the CopyFeatures_management() tool to create a copy from the same data exports the domains as well. 

Schritte zur Reproduzierung

Bug-ID: BUG-000123119

Software:

  • ArcGIS Pro

Benachrichtigung erhalten, wenn sich der Status eines Bugs ändert

Esri Support App herunterladen

Weitere Informationen zu diesem Thema erkunden

Unterstützung durch ArcGIS-Experten anfordern

An den technischen Support wenden

Esri Support App herunterladen

Zu Download-Optionen wechseln