Select to view content in your preferred language

Copy/Paste features from one layer to another

647
3
12-14-2010 02:24 PM
MikeLouwrens
Frequent Contributor
Hi,

I am wanting to automatically copy selected features from one layer into another layer (including all attributes), and then delete those selected features from the first layer.  I can't figure out how to copy/paste from one layer to another.  Is it possible to do a copy/paste programmatically?  Same as if I'd started an edit session, selected some features, Ctrl+C to copy, Ctrl+V to paste into my target layer.

I'm working in VBA ArcGIS 10 Desktop

Mike.
0 Kudos
3 Replies
MikeLouwrens
Frequent Contributor
Is there no way to do this?  I haven't been able to find any documentation that would suggest there is a way, but I'd be surprised if nobody had tried this before.

Mike.
0 Kudos
sujaygarapati
Deactivated User
use append  this will be available in GP
0 Kudos
MikeLouwrens
Frequent Contributor
use append  this will be available in GP
Thanks for your reply.  Is the Append function available in VBA or .Net and can it be run in an edit session?

I had thought it wouldn't be hard to call a Copy and Paste in VBA or .Net, but the functionality just doesn't seem to be there.

Cheers,
Mike.
0 Kudos