POST
|
Hi, Thank you for the snippet. I was somehow close to your solution, did not do casting! have a nice day, Adam
... View more
03-22-2024
08:23 AM
|
0
|
0
|
920
|
POST
|
Dear Community, I am struggling to find a way to update an UI element from other class than <*>ViewModel.cs. I have a docpane with a WaitingCursorControl. Its visibility is cotrolled via data binding in the ViewModel class. However, I do have another MapTool class where I would like to set the visibility of the WaitingCursorControl in the dockpane. How can access the data binding property from a different class than ViewModel? Any hints? Thanks! Adam
... View more
03-22-2024
07:59 AM
|
0
|
5
|
943
|
POST
|
@CharlesMacleod - thank you refactoring my code and spotting the error with the collection syncing. Solved.
... View more
03-19-2024
12:18 PM
|
0
|
1
|
496
|
POST
|
Dear Charles, It works like a charm now! Thank you for spotting my mistakes and proactively correcting them. Indeed, you solved also another issue I faced related to the comboboxes with no values after restart of ArcGIS Pro. Thanks a lot again! Have a nice day, Adam
... View more
03-19-2024
12:13 PM
|
0
|
0
|
2426
|
POST
|
Dear Charles, Thank you for the review. Please do share the zipped code here as suggested. The plugin and the source code are to be shared publically anyway. I would love to see your changes. Tkanks! Adam
... View more
03-19-2024
09:07 AM
|
0
|
2
|
2441
|
POST
|
Dear Charles, Thank you for the answer. In fact most of UI is grayed out. I must have done something wrong when it comes to invoking my function in a correct thread - MCT. Although, I tried to follow all your hints and best practises you shared in this video. I am adding the screenshot of my addin's UI (attached) and the url to my Github repo, just in case you find some time to take a look on my case. The class name is Sketch<point/polyline/polygon>.cs Some instructions: 1) Run and build the solution. 2) Go to debug mode. 3) Open any aprx and in the map view, navigate to Poland. 4) Open GUGiK tab and click Draw a point button (screen2). 5) Click on the map. Thank you for taking your time. BR, Adam
... View more
03-18-2024
01:47 PM
|
0
|
1
|
2473
|
POST
|
Dear Community, I have a quite busy MapTool which allows user to sketch a shape and then based on its geometry, I perform some geometry operations (using GeometryEngine), http async calls and add the results to graphics layer and to a backend feature class. here is short snippet: protected override Task<bool> OnSketchCompleteAsync(Geometry geometry)
{
return QueuedTask.Run(async () =>
{
//logic is here
});
} Unfortunately, as this is quite lengthy process, I get my Ribbon bar frozen (attached) and the graphics layer does redraw at all. Once the processing is done, the UI becomes responsive again and the graphics are displayed in the MapView. My question is if such behaviour is expected to see as there are some operations related to MapView (adding graphics)? Any advice is much appreciated! Bests, Adam
... View more
03-17-2024
02:28 PM
|
0
|
9
|
2559
|
POST
|
Dear Community, I am working on a DockPane add-in which at the very first step should grab and populate the combobox values from a remote http address. I have implemented it in the OnActivate function (if _isInitialized == false) within ViewModel class. It works pretty well during a single ArcGIS Pro sesssion. However, when I leave the dockpane opened, save and close the aprx and then reopen the same aprx, the combobox does not contain any values, even though, the remote endpoint is called by the code. As dockpane is a singleton, I guess I need to somohow force it to refresh the view with the latest dictionary data. Do you know how to persist the values for comboxes between different ArcGIS Pro sessions? Where to put the logic to grab remote configuration values? Any hints? ===========Edit Here is a link to my repo with the code. Thanks! ========== Thank you! Bests, Adam
... View more
03-17-2024
02:13 PM
|
0
|
2
|
608
|
POST
|
I reckon, you should use directly hit the database. ArcGIS Pro SDK does not provide any additional layer to work with versioned views.
... View more
10-05-2023
07:00 AM
|
0
|
0
|
1144
|
POST
|
Hi, You should not edit sde versioned data outside of ArcGIS client. You risk data corruption. GDAL will not help you with that, I am afraid. On the other hand, you can give a try with versioned views. Since you call SQL-commands, it should be way faster. More you can find here: What is a versioned view?—ArcMap | Documentation (arcgis.com) Hope this helps.
... View more
09-28-2023
08:17 AM
|
1
|
2
|
1188
|
IDEA
|
Hello, I created an Add-in that supports the following scenario: 1) User: selects a layer in Table of Contents and makes a selection 2) User: clicks on a button in the Ribbon bar (Table ->View) 3) Tool: creates a new Layer Definition based on current selection (from selected layer) based on ObjectID field under a specific name 'YYYY-MM-DD HH:MM:SS'. New Layer Definition is not active. Would that do the job? Looking for your feedback. Bests, Adam #### Edit: If anyone is interested in, here is a link to the Add-in (ArcGIS Pro 2.8). https://www.arcgis.com/home/item.html?id=e00c7d1a38034ebd89efa194df21ae0c ####
... View more
06-01-2022
08:38 AM
|
0
|
0
|
2552
|
POST
|
Hi Michael, The tool (Python + ArcPy) needs to authored in ArcGIS Pro. Once it runs with success, you need to proceed with a publishing process. If you are willing to share sample datasets and your script, I can help you out. Definitely, it is feasible. Bests, Adam
... View more
05-30-2022
04:10 AM
|
0
|
0
|
1012
|
POST
|
Hi, Why not to specify File as Data Type with .aprx extension? Does it work for you? BR, Adam
... View more
03-22-2021
12:30 PM
|
1
|
1
|
3841
|
POST
|
ok, great. Any relevant details in ArcGIS Portal logs folder? No issues with portal internal db? Br, Adam
... View more
03-22-2021
11:12 AM
|
0
|
1
|
4653
|
Title | Kudos | Posted |
---|---|---|
1 | 03-19-2024 12:19 PM | |
1 | 05-11-2016 06:36 AM | |
1 | 09-28-2023 08:17 AM | |
2 | 03-17-2021 12:09 PM | |
1 | 05-11-2016 10:40 PM |
Online Status |
Offline
|
Date Last Visited |
03-22-2024
10:35 PM
|