Article directory
0 Preface
ArcGIS Pro plug-in (Add-ins) can make it easier for users to customize and extend ArcGIS Pro applications. It creates a series of custom tools to provide an open basic framework, packaged and compressed into a single file. Add-ins can be easily shared among users because they require neither an installer nor Component Model (COM) registration. This article records the process of implementing ArcGis Pro plug-in development.
1. Development tool preparation
(1) Install Visual Studio
Search for the "Visual Studio2022" installation package in Baidu and other browsers, and then install it.
(2) Install ArcGis Pro SDK related files
directly search for "ArcGIS Pro" in the extension of vs2022 to install, and install the following three SDKs.
Note: If the SDK download is slow due to network reasons, you can browse the [ ArcGIS Pro SDK for .NET installation and uninstallation guide in VS2022 ] to download the SDK network disk link shared at the end of this article.
2. VS (C#) creates an ArcGIS Pro module add-in
(1) Create a new project
(2) Create a button
(3) Realize the button function
MessageBox.Show("Hello, ArcGisPro!");
3. Compile and use the ArcGis Pro plug-in
Reference materials:
[1] Meili Snow Mountain GIS. ArcGIS Pro SDK for .NET installation and uninstallation guide in VS2022 ; 2022-08-13 [accessed 2023-07-07].
[2] geoli91. ArcGIS Pro secondary development ; 2022- 10-26 [accessed 2023-07-07].
[3] xq_lurker1992. ArcGIS Pro 2.2 Custom Development Introduction ; 2018-08-16 [accessed 2023-07-07].
[4] gis2all. 【ArcGIS Pro SDK for .Net 】Add-in plug-in development tutorial ; 2020-03-05 [accessed 2023-07-07].
[5] . ArcGIS Pro 3.1 SDK for .NET ; [accessed 2023-07-07].