Select to view content in your preferred language

Add selected area to another layer

1131
5
02-11-2022 12:13 AM
DavidMrázek
Frequent Contributor

Hello,
does anyone know what function you can use to add selected faces to another existing layer? Areas were selected via Select Layer By Location.

Thank you

David

0 Kudos
5 Replies
DanPatterson
MVP Esteemed Contributor

Save the selection to a featureclass, then append or merge it to the destination featureclass, in order to provide the necessary field types checks

Append (Data Management)—ArcGIS Pro | Documentation

or

Merge (Data Management)—ArcGIS Pro | Documentation

append to an existing file or use merge to create a new one.

Try not to do a shortcut on the process in order to maintain the attribute integrity


... sort of retired...
DavidMrázek
Frequent Contributor

Thanks for the reply.

How do I create a FeatureClass from a selected Feature?

0 Kudos
ASw93
by
Regular Contributor

If you right click the layer that you've selected features from, you can go to Selection > Make Layer from Selected Features. 

0 Kudos
DavidMrázek
Frequent Contributor

And somehow programmatically?

0 Kudos
DanPatterson
MVP Esteemed Contributor

selections are honored, use

Make Feature Layer (Data Management)—ArcGIS Pro | Documentation

see the code examples in the python tab


... sort of retired...
0 Kudos