Exporting Data to a New Feature Class

739
3
02-23-2012 09:30 AM
BrittanyGale
Occasional Contributor
Hello,

Hopefully this is a simple question. I cannot find the help I need by searching Google and Esri Support though.

How do I export selected features to a new feature class? Without python, this is very simple: Right-click the desired layer > Data > Export Data...

Thank you!
Tags (2)
0 Kudos
3 Replies
BrittanyGale
Occasional Contributor
Nevermind! I found my answer right after I posted this. Oops. (arcpy.Select_analysis). Anyone know how to delete a post?
0 Kudos
ChrisSnyder
Regular Contributor III
Another "export" tool is the CopyFeatures_management() tool - it's probably the export method I use the most since it only exports the selected features to a new FC. There is no SQL parameter like the Select_analysis() tool. Rather it uses the current selection set that was created by SelectByAttributes, SelectByLocation, or some other "selecty-type" tool.
0 Kudos
BrittanyGale
Occasional Contributor
Actually, the 'Select_analysis' tool exports only the selected features as well, without requiring an SQL parameter. So, I wonder what the difference is? Thanks for letting me know about another option! 🙂
0 Kudos