select features and export to a new feature class

653
2
Jump to solution
09-21-2019 04:38 PM
SamRideout1
New Contributor III

I am trying to select one polygon feature from the attribute table and export to a new featureclass using C# and ArcGIS Pro.

0 Kudos
1 Solution

Accepted Solutions
UmaHarano
Esri Regular Contributor

This can be done by calling the Copy Features Geoprocessing Tool from a Pro Add-in.  GP Tools can be called from an add-in using the ExecuteToolAsync method.

Here is a sample that shows how to use ExecuteToolAsync: GeoprocessingExecuteAsync

Thanks

Uma

View solution in original post

2 Replies
UmaHarano
Esri Regular Contributor

This can be done by calling the Copy Features Geoprocessing Tool from a Pro Add-in.  GP Tools can be called from an add-in using the ExecuteToolAsync method.

Here is a sample that shows how to use ExecuteToolAsync: GeoprocessingExecuteAsync

Thanks

Uma

SamRideout1
New Contributor III

Thank you Uma.  Very helpful!!

0 Kudos