|
POST
|
Hi, If you want to run your add'in on different ArcGIS Pro versions you need to build it with the lowest ArcGIS Pro version SDK. Then you have chance what your add'in will work with higher versions of ArcGIS Pro. It depends on how much ArcGIS Pro SDK backward compatible with previous versions. It was a period when ArcGIS Pro SDK changed dramatically and was no chance that your previous version of add'in will work with new one. For example (from my experience): in ArcGIS Pro 2.6 you can run geoprocessing function Excel To Table when ArcGIS Pro starts, on 2.7 it does not work. Now it is more less stable.
... View more
04-27-2021
10:07 PM
|
1
|
1
|
4290
|
|
POST
|
Hi, If you are using databases (not shapefile, dbf or info tables) you can use QueryFilter with DISTINCT in PrefixClause or PostfixClause. More info here: ProConcepts Geodatabase · Esri/arcgis-pro-sdk Wiki · GitHub
... View more
04-25-2021
11:23 PM
|
0
|
0
|
2345
|
|
POST
|
Hi, Have you test it in debug mode? ProgressDialog does not show in Debug mode. https://community.esri.com/t5/arcgis-pro-sdk-questions/how-to-update-text-of-progressdialog/td-p/858359 https://github.com/Esri/arcgis-pro-sdk-community-samples/blob/master/Framework/ProgressDialog/ProgressDialog%20(C%23).md 3. Run ArcGIS Pro without running the Visual Studio Debugger. 4. Progress Dialog boxes are disabled when debugging in Visual Studio.
... View more
04-22-2021
10:22 PM
|
0
|
0
|
2851
|
|
POST
|
HI, Where does one find the tool names in the docs for ExecuteToolAsync("Tool_Name", ...)? There is no place where you can find it. You can check my questions in Geo Net and you will find the same question and my workflow how I solve that task. https://community.esri.com/t5/arcgis-pro-sdk-questions/when-will-net-developers-get-api-reference-for-all-geoprocessing/m-p/1001311#M5737 Please add comments to that thread and ask your colleagues to do the same. May be Esri will solve faster our problem.
... View more
04-20-2021
07:02 AM
|
1
|
0
|
2385
|
|
POST
|
Before writing I have done field calculation on Enterprise database and it not allows "Undo". If you can handle RowChangedEvent, then you can modify attributes like in that thread: https://community.esri.com/t5/arcgis-pro-sdk-questions/split-polygon-and-modify-its-attributes/m-p/724978
... View more
04-19-2021
11:44 PM
|
0
|
1
|
2063
|
|
POST
|
Hi, You can use all WPF controls without problems. In other hand it would be nice when third party tools looks like native UI. I would recommend for your case to use Esri style control like in picture below: They use ListBox with their own style Esri_ListBoxPanelIndicator. More info here: https://github.com/Esri/arcgis-pro-sdk/wiki/proguide-style-guide#list-box You can use sample you found (CustomCatalog). P.s You can open and windows forms from ArcGIS Pro. It is not good solution, looks different, can.t work with different themes, but it fast solution to migrate from ArcMap to ArcGIS Pro. We use that way for very complicated dialogs for faster product delivery.
... View more
04-19-2021
11:30 PM
|
1
|
0
|
1718
|
|
POST
|
Hi, Calculate Field tool doesn't allow to do "Undo" operation. It seems that it writes changes without edit operation.
... View more
04-19-2021
11:08 PM
|
0
|
0
|
2066
|
|
POST
|
Hi, This is a sample for ExcelToTable geoprocessing tool: var parameters = Geoprocessing.MakeValueArray(InputFile, OutputTable, "", 1, ""); var environments = Geoprocessing.MakeEnvironmentArray(workspace: tempPath); var gpResult = await Geoprocessing.ExecuteToolAsync("ExcelToTable_conversion", parameters, environments, CancelableProgressor.None, GPExecuteToolFlags.None);
... View more
04-19-2021
11:00 PM
|
1
|
0
|
2410
|
|
POST
|
Hi, Have you tried deleting without callback? Just: using (Feature row = (Feature)rowCursor.Current)
{
editOperationForPoints.Delete(row);
} More info here: https://pro.arcgis.com/en/pro-app/latest/sdk/api-reference/#topic9512.html EditOperation ErrorMessage you can set which you want. If it is not set, you see default message. editOperationForPoints.ErrorMessage = "My error message";
... View more
03-24-2021
02:28 AM
|
0
|
1
|
2718
|
|
POST
|
Hi, You can check geodatabase connection string: FeatureClass fc = ... var gdb = fc.GetDatastore() as Geodatabase; string connection = gdb.GetConnectionString(); string workspaceName = connection.Split('=')[1]; string ext = Path.GetExtension(workspaceName); if (string.Compare(ext, ".gdb", true) != 0 ) { } else if(string.Compare(ext, ".sde", true) != 0) { }
... View more
03-03-2021
07:18 AM
|
0
|
1
|
2115
|
|
POST
|
Hi, Look at the ArcGIS Pro samples: https://github.com/Esri/arcgis-pro-sdk-community-samples/tree/master/Framework/Licensing You can build extension and authorize it by password. Add-ins could be enabled/disable by conditions and extension.
... View more
03-02-2021
07:10 AM
|
1
|
7
|
3339
|
|
POST
|
Hi, GPExecuteToolFlags.AddOutputsToMap and GPExecuteToolFlags.Default flags adds outputs to the map. You can manage all available flags as you want or as you need. (https://pro.arcgis.com/en/pro-app/latest/sdk/api-reference/#topic9375.html ) More info about "in_memory" workspace problems here: https://community.esri.com/t5/arcgis-pro-sdk-questions/in-memory-workspace/m-p/787033#M1303
... View more
02-24-2021
07:13 AM
|
0
|
0
|
2719
|
|
POST
|
Hi, What do you mean by "Dockpane closing"? By pressing x at the right upper corner you just hide dockpane. So if it's right place for your reset code, so you can override OnShow Dockpane class method: protected override void OnShow(bool isVisible) { if (!isVisible) { SaveDirectory = null; } } UninitializeAsync will be called on ArcGIS Pro closing.
... View more
02-23-2021
07:18 AM
|
1
|
5
|
4982
|
|
POST
|
Hi, If I understand your question right then you can activate Esri, your or third-party tools the same way. As described in link. One thing which you need to know it is tool ID. Here is link for Esri tools ID: https://github.com/Esri/arcgis-pro-sdk/wiki/ArcGIS-Pro-DAML-ID-Reference If you can find Esri sketch tool which is useful for your workflow you can activate it. Otherwise your can create your own sketch tool. Here is the link to related thread: https://community.esri.com/t5/arcgis-pro-sdk-questions/how-do-i-activate-deactivate-a-maptool/td-p/874112
... View more
02-16-2021
12:26 AM
|
1
|
0
|
3864
|
|
POST
|
Hi, In your configuration daml file you can modify existing ArcGIS Pro ribbons, menus and etc. For example delete New project, Open project or etc. tools/commands. You just need to know module id and tool/command IDs
... View more
02-15-2021
01:05 PM
|
0
|
0
|
2646
|
| Title | Kudos | Posted |
|---|---|---|
| 2 | 04-24-2026 08:33 AM | |
| 1 | 03-23-2026 11:44 AM | |
| 1 | 05-22-2024 11:48 PM | |
| 1 | 02-27-2026 10:33 AM | |
| 1 | 01-07-2026 10:44 AM |
| Online Status |
Offline
|
| Date Last Visited |
Thursday
|