Move Feature Classes: Reproduce programmatically move drag-n-drop for Feature Classes in ArcGIS Pro?

06-13-2021 10:26 PM
Occasional Contributor III

There is a Geodatabase with several Feature Datasets (FD), because a requirement in Location referencing tools in ArcGIS Pro 2.6 and above, Feature Classes (FC) from one FD should be moved to another FD.

I have found several answers, like:

Using ArcPy to Move Feature Classes to Feature Dataset?

The answers can be summarized on:

  1. Drag-n-Drop from one FD to another FD

  2. Programmatically (Python) copy, delete, rename the FC using either:

    a. CopyFeatures_management

    b. FeatureClassToGeodatabase_conversion

This two programmatically options, sounds good from the point of view of the structure and content of the FC. But the underlying process is not the same as the option 1.

I moved a FC using Drag-n-Drop from the FD Integrity_Pub to Integrity:


Properties before moving the FC:


Properties after moving the FC:


When the FC is moved using the Option 2.b. (it is recommended here😞


Is there a way to move the FC, programmatically and keep the Archiving and Versioning? Like the Drag-n-Drop does it.





0 Kudos
0 Replies