The code below causes ArcGIS Pro to crash. This is part of an add-in written in C#. The parameters are calling two FeatureLayers the inFeatures and nearFeatures. I have triple checked the features so my only guess is the Alias name I am using for the tool is wrong but I seem to have tried everything. Any tips?
Geoprocessing.OpenToolDialog("analysis.Near", parameters);
Adding other groups for better visibility ArcGIS Pro SDK
Hi Scott,
The tool name is "near_analysis". From Python Script geoprocessing tool name you need to change group and tool name places and change '.' to '_'.
If
arcpy.analysis.Near(r"Sites", r"'Customers'", "1000 Meters", "NO_LOCATION", "NO_ANGLE", "PLANAR")
then
Geoprocessing.OpenToolDialog("near_analysis", parameters);