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

730
0
06-13-2021 10:26 PM
Cristian_Galindo
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:

https://community.esri.com/t5/python-questions/move-feature-class-from-dataset-a-to-dataset-b-in-dat...

https://community.esri.com/t5/data-management-questions/move-feature-classes-out-of-feature-dataset/...

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:

JdzQ8

Properties before moving the FC:

0RQ1b

Properties after moving the FC:

2Xd9v

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

lve8J

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