Authoring GeoProcessing tool in .net

147
4
Jump to solution
01-22-2021 03:14 PM
BerndtNording
New Contributor III

Is there any documentation or samples that show how to create a Pro GP tool in .net. Documentation for Arcmap was rather spase and didn't cover .net, but there was a sample for a simple tool. I have not been able to find anything at all for Pro. 

Tags (2)
1 Solution

Accepted Solutions
ThanHtetAung_EsriAu
Esri Regular Contributor

Hi @BerndtNording ,

Here is the pro sdk doco location for geoprocessing 

https://github.com/Esri/arcgis-pro-sdk/wiki/ProConcepts-Geoprocessing

And there are a few pro sdk community sample how to execute gptool from sdk .net.

https://github.com/Esri/arcgis-pro-sdk-community-samples/blob/19a330dcbe57cdbbde7f0762e9321aa7b411c8...

https://github.com/Esri/arcgis-pro-sdk-community-samples/blob/19a330dcbe57cdbbde7f0762e9321aa7b411c8...

 

If you want to create your own gptool, python toolbox, you need to create from ArcGIS pro first.

Here is the reference link.

https://pro.arcgis.com/en/pro-app/latest/arcpy/geoprocessing_and_python/a-quick-tour-of-creating-too...

And save your custom tool in a location, you can even call it from pro .net module.

 

 

 

 

View solution in original post

4 Replies
DanPatterson
MVP Frequent Contributor

This has Pro and .net in it

ArcGIS Pro SDK | Documentation


... sort of retired...
Reply
0 Kudos
BerndtNording
New Contributor III

Indeed, but nothing at all on authoring GP tools.

Reply
0 Kudos
ThanHtetAung_EsriAu
Esri Regular Contributor

Hi @BerndtNording ,

Here is the pro sdk doco location for geoprocessing 

https://github.com/Esri/arcgis-pro-sdk/wiki/ProConcepts-Geoprocessing

And there are a few pro sdk community sample how to execute gptool from sdk .net.

https://github.com/Esri/arcgis-pro-sdk-community-samples/blob/19a330dcbe57cdbbde7f0762e9321aa7b411c8...

https://github.com/Esri/arcgis-pro-sdk-community-samples/blob/19a330dcbe57cdbbde7f0762e9321aa7b411c8...

 

If you want to create your own gptool, python toolbox, you need to create from ArcGIS pro first.

Here is the reference link.

https://pro.arcgis.com/en/pro-app/latest/arcpy/geoprocessing_and_python/a-quick-tour-of-creating-too...

And save your custom tool in a location, you can even call it from pro .net module.

 

 

 

 

View solution in original post

BerndtNording
New Contributor III

Thank you for these links. So the short answer is that I cannot author GP Tools in .NET, and that any such tools have to be completely rewritten in Python.

Reply
0 Kudos