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.
Solved! Go to Solution.
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.
If you want to create your own gptool, python toolbox, you need to create from ArcGIS pro first.
Here is the reference link.
And save your custom tool in a location, you can even call it from pro .net module.
Hello, there are currently no plans to support the creation of geoprocessing tools with the Pro SDK for .NET.
Creation of custom geoprocessing tools and analytics is available using Python and ModelBuilder.
Please see the SDK FAQ document for more information on other migration questions.
Indeed, but nothing at all on authoring GP tools.
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.
If you want to create your own gptool, python toolbox, you need to create from ArcGIS pro first.
Here is the reference link.
And save your custom tool in a location, you can even call it from pro .net module.
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.
I've been looking at all the developer guide/github websites and I too came to the conclusion that its not possible to create a geoprocessing tool in VB .net for ArcPro, unless I've completely missed the right search term?
I was hoping that this could be done and one builds up a toolbox of tools that a user could run individually or use to build a model in modelbuilder?
The approach of creating tools through python is not a solution for me as arcpy does not expose the fine grain manipulation that ArcObjects does. I wonder if any of the heavy weight developers who haunt this forum know better, or you really cannot create a geoprocessing tool for a toolbox using the ArcPro SDK?
Any input from Esri when this is planned for Pro?
Thanks,
Adam
Hello, there are currently no plans to support the creation of geoprocessing tools with the Pro SDK for .NET.
Creation of custom geoprocessing tools and analytics is available using Python and ModelBuilder.
Please see the SDK FAQ document for more information on other migration questions.
Hi Christopher,
Thanks for the update.
Wow - that's quite some statement.
Python is often not an option for Esri Partners making professional add-ons. As Duncan says it's a shame that these powerful applications cannot be used as geoprocessing tools.
Hopefully, it will be like the statement that the SDK was only for DAL and GP was the only option for DDL. That was obviously never going to be a runner long-term and it was nice to see to see the SDK include DDL at 2.8.
Please reconsider.
Adam