|
POST
|
For GP process logging I use GPExecuteToolFlags.AddToHistory flag. After executing geoprocessing task I can check the status. In ArcGIS Pro 2.3 Beta there is a flag GPExecuteToolFlags.RefreshProjectItems. I load data to my project to, but I use alternative technique. I create feature layer from lyr file and then update source. I repeat these steps for each layer. You can find more on: Pro 2.0 Bug "Apply Symbology From Layer" GeoProcessing Tool Your way did not work for me as I remember. I needed to go to layer properties, clear cache and set Don't cache any data locally. Then ArcGIS Pro refreshed layer with applied symbology.
... View more
11-29-2018
06:47 AM
|
0
|
0
|
2017
|
|
POST
|
Hi Brian, For GP parameters I use Geoprocessing.MakeValueArray method. It returns IReadOnlyList<string> value. Maybe simple string[] is not valid for geoprocessing? Have you tried to put your code inside try/catch and check for exceptions?
... View more
11-29-2018
05:42 AM
|
0
|
3
|
2017
|
|
POST
|
Hi Tim, You can use geoprocessing package made from geoprocessing tool for extracting values. You need to start local server if you want to do it on disconnected device. Another way is to use geoprocessing service from your server. Local Server—ArcGIS Runtime SDK for .NET | ArcGIS for Developers
... View more
11-28-2018
11:02 PM
|
0
|
0
|
895
|
|
POST
|
Hi Brian, "insertButton" has properties to specify order : <menus> <updateMenu refID="exampleMenu"> <insertButton refID="menuItem2a" placeWith="menuItem2" insert="after"/> </updateMenu> </menus> ProConcepts Framework · Esri/arcgis-pro-sdk Wiki · GitHub
... View more
11-28-2018
10:52 PM
|
2
|
11
|
3779
|
|
POST
|
Hi Brian, Look at that issue: Pro 2.0 Bug "Apply Symbology From Layer" GeoProcessing Tool At the end of the issue you will found solution with GP flag GPThread. If it will not work I will research deeper.
... View more
11-28-2018
10:34 PM
|
0
|
5
|
2017
|
|
POST
|
Hi Joshua, I mean after grabbing feature geometry you could use code from sample: //select features that intersect the sketch geometry var selection = MapView.Active.SelectFeatures(geo, SelectionCombinationMethod.New); IEnumerable<KeyValuePair<BasicFeatureLayer, List<long>>> result = from r in selection where string.Compare(r.Key.Name, "States", true) == 0 select r; //zoom to selection MapView.Active.ZoomToAsync(result.Select(kvp => kvp.Key), true, TimeSpan.FromSeconds(1.5), true);
... View more
11-15-2018
11:16 PM
|
0
|
1
|
1549
|
|
POST
|
Hi Joshua, Look at ArcGIS pro community sample: https://github.com/Esri/arcgis-pro-sdk-community-samples/blob/master/Map-Exploration/IdentifyWithSketchTool/SelectAndZoom.cs
... View more
11-14-2018
11:21 PM
|
0
|
12
|
4113
|
|
POST
|
Hi Thomas, Have you tried like this: OpenItemDialog searchGdbDialog = new OpenItemDialog { Title = "Find GDB", InitialLocation = Directory.GetCurrentDirectory(), MultiSelect = false, Filter = ItemFilters.featureDatasets_all }; var ok = searchGdbDialog.ShowDialog(); For me it works, I always get last visited folder.
... View more
11-12-2018
04:51 AM
|
1
|
1
|
1134
|
|
POST
|
Hi Carsten, Do you need to check are spatial references are exactly the same? If yes, you could use IClone method IsEqual. I also tried to use IsXYPrecisionEqual, but without success.
... View more
10-29-2018
12:02 AM
|
0
|
1
|
1440
|
|
POST
|
Hi Nobbir, GPExecuteToolFlags.GPThread is not documented, but it seems it works. Please add documentation to ProConcepts Geoprocessing · Esri/arcgis-pro-sdk Wiki · GitHub Thank you.
... View more
10-18-2018
11:11 PM
|
0
|
1
|
2906
|
|
POST
|
Hi Michael, If you have organization account ask your organization ArcGIS administrator to assign privilege to register cases on myesri.com or contact your Esri distributor and they inform you how to do that.
... View more
10-17-2018
10:49 PM
|
0
|
0
|
2906
|
|
POST
|
I think AddIns technology is not very friendly for 3rd party big developments. There is another one problem with developing AddIns on ArcGIS Pro. It is AddIns resources. There is only one way to specify your own resources as relative path from ArcGIS Pro installation folder. I think we need support from Esri what is better way to develop big extensions on ArcGIS Pro.
... View more
10-17-2018
10:42 PM
|
0
|
0
|
6408
|
|
POST
|
Hi Roman, We have solution with 11 projects. Some of them have AddIns, some of them are helpers. All application works fine in folder C:\Program Files\xxxxxxxx. At first you need to clean up all copies of referenced dll from disk. After that each reference of your additional library you need to set “Copy to local” to True. Your library must be in the same solution as your AddIn. Next thing you need to setup project dependencies using “Building dependencies- Project dependencies”. Check each library your AddIn uses. Now each time when you build your project, your additional libraries will be built too. There is one problem with debugging. You can’t go from library to library and back, because your AddIn takes library not from your solution, but from AddIn zip file. So you can debug only StartUp project. Each time you change your additional library code, you need to go and rebuild your AddIns which uses additional library. To check is your additional library is included to AddIn , rename xxxx.esriAddinX to xxxx.zip file and check its content with your archiving software or go to AddIns folder, locate folder where your AddIn dll is stored and check if your additional dll library is stored in the same folder.
... View more
10-11-2018
10:58 PM
|
0
|
1
|
6408
|
|
POST
|
Hi, Your AddIn is zip file package which includes all referenced dlls. To add them automatically to zip in Visual Studio AddIn project dll reference properties set Copy to local property to True.
... View more
10-11-2018
04:57 AM
|
2
|
0
|
6408
|
| 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 |
Wednesday
|