sladd

copy/paste selected feature from one fc to another, with both fc in versioned GDB

Discussion created by sladd on Jun 22, 2011
Latest reply on Jun 23, 2011 by jskinner-esristaff
Hi,

I am trying to take a feature that I have selected, copy that feature, and paste it into another feature class. Both feature classes are within the same versioned SDE GDB.

I have looked into using the Copy (Data Management) and Append (Data Management) tools, but the Copy tool creates an output, which I don't want, and the Append tool will not work within an edit session due to locks on the feature classes being used and will not work outside of an edit session because it will not append to the versioned data.

I was wondering if there is any code that will replicate manually using the copy (Ctrl+C) and paste (Ctrl+V) to achieve this?

Regards,

Shannon

Outcomes