Hey everyone!
I want to create a Python Add-In tool that will perform the following sequence of tasks:
1. Read a specific feature layer in Table of Content (let's call it X)
2. Check the version for the layer [Working on SDE only]
3. Read the selected features from the layer X
4. Copy the selected features from layer X to another layer Abandoned_X and delete them from X.
5. Search layers (say Y, Z, ...) related to layer X, copy the related features to layers Abandoned_Y, Abandoned_Z, ... and delete them from Y, Z, ...
Requirements:
- The tool should work as an extension of the editor Toolbar