Dissolve Features based on Dissolve Field using C# ArcGIS Pro SDK

729
2
08-16-2019 07:50 AM
JamesKennedy1
New Contributor III

How can I use dissolve with ArcGIS Pro SDK?

My old code in ArcObjects was 

ExecuteGeoprocessingTool(new ESRI.ArcGIS.DataManagementTools.Dissolve()
{
in_features = intermediate,
dissolve_field = "Name",
out_feature_class = modelExtent
}, false);

Is there something similar in ArcGIS Pro SDK I can do?

Tags (2)
0 Kudos
2 Replies
JamesKennedy1
New Contributor III

Is there a way to do this? Perhaps there is an interface that lets me use the arcpy from arcgis pro sdk?

0 Kudos
MatthewDriscoll
MVP Alum

Yes you can call a python script from your SDK solution.  Here is an example.  I have not personally tried to dissolve with the Pro SDK.  Here is an example of executing  a geoprocessing tool with the Pro SDK.

0 Kudos