POST
|
I haven't found out how to correctly uninstall an ArcGIS Pro Managed Configuration. When ArcGIS Pro is open, and I go to Project - Add-In Manager, no Add-In is detected. So I deleted the configuration file on C:\Users\<UserName>\Documents\ArcGIS\AddIns\ArcGISPro\Configurations. But I guess this is not the correct way.
... View more
02-28-2020
01:54 AM
|
0
|
6
|
1299
|
POST
|
Thanks, Rich. Is my assumption above correct?: multithreading in the Pro SDK is used to separate the user interface thread from the worker thread, i.e. a user can still perform tasks in the GUI while the worker thread does its work.
... View more
02-11-2020
02:03 AM
|
0
|
1
|
1148
|
POST
|
As far as I understand, multithreading in the Pro SDK is used to separate the user interface thread from the worker thread, i.e. a user can still perform tasks in the GUI while the worker thread does its work. Can I also split up time consuming tasks into multiple threads? In my application, I create some feature classes, and I assign renderers to the corresponding layers. I split this up into multiple threads as follows: Task task = QueuedTask.Run(() => CreateFootprintFCAsync(fdPath, "Footprint", spatialRef)); task = QueuedTask.Run(() => CreatePerimeterFCAsync(fdPath, "Perimeter", spatialRef)); task = QueuedTask.Run(() => CreateHabitatFCAsync(fdPath, "Habitat", spatialRef)); However, this code doesn't run asynchronously, but sequentially. Am I doing something wrong or is this expected behaviour?
... View more
02-10-2020
07:54 AM
|
0
|
3
|
1316
|
POST
|
It is also possible to open an ArcGIS Pro ProWindow (Add New Item - ArcGIS - ArcGIS Pro Add-ins).
... View more
01-20-2020
08:06 AM
|
0
|
1
|
1316
|
POST
|
Hello Charles, thank you for your answer. It now works! The following confused me: when you create a new add-in, and create a new button, the images "GenericButtonBlue16" and GenericButtonBlue32" are created in the folder "Images" of the project. However, these images are not used by the Add-In, but the ones in "ArcGIS.Desktop.Resources". This is confusing. I had to reference my images the following way to make things work (not "pack://application:,,,/ArcGIS.Desktop.Resources;component/Images/Image32.png"): <!-- Note the backslash -->
<button id="module1_Button1" className="Button1" caption="Button1" largeImage="Images\Image32.png"/>
... View more
01-20-2020
05:57 AM
|
3
|
1
|
5852
|
POST
|
I have exactly the same problem. I set the "Build Action" for each image to "AddInContent", but the images still don't display. What am I doing wrong?
... View more
01-17-2020
06:49 AM
|
0
|
1
|
5852
|
POST
|
I have created an ArcGIS Pro Managed Configuration. I now want to add a WPF Window: 1. Right click on project - Add new item 2. Expand Visual C# Items - Select WPF --> only a User Control (WPF) appears, no Window (WPF), Page (WPF), and so on Do I have to use an ArcGIS Pro ProWindow instead? I'm just wondering because a WPF Window is added in the following ProGuide: ProGuide License Your Add in · Esri/arcgis-pro-sdk Wiki · GitHub
... View more
01-17-2020
02:00 AM
|
0
|
4
|
1487
|
POST
|
Hi Uma, thanks for your input. Your code above works fine for me when I first show the message box ("MapView has been initialized") and then access the active map (MapView.Active.Map). When I remove the message box, however, the active mapview is null. How can I get around this? Thanks, Barbara
... View more
01-10-2020
07:23 AM
|
0
|
2
|
3142
|
POST
|
Hello Wolfgang, this works, thank you for your reply! So the reason is that Pro will only load my add-in when it's needed, i.e. when the the code runs.
... View more
12-09-2019
01:34 AM
|
0
|
1
|
2285
|
POST
|
Hello Uma, thank you for your reply! I am not developing a custom tool. I run some calculations that last several seconds or minutes, and I want to show the user that she/he has to wait. With ArcObjects (using IMouseCursor), this worked perfect.
... View more
12-06-2019
09:27 AM
|
0
|
1
|
1632
|
POST
|
I have exactly the same problem. I created a new ArcGIS Pro AddIn using the following instructions: Build your first add-in | ArcGIS for Developers When I'm setting a breakpoint, I am receiving a warning stating "The breakpoint will not currently be hit. No symbols have been loaded for this document." Any help would be appreciated!
... View more
12-06-2019
07:54 AM
|
0
|
1
|
2285
|
POST
|
I would like to set the cursor to wait cursor. In ArcObjects, this works as follows: IMouseCursor mouseCursor = new MouseCursorClass(); mouseCursor.SetCursor(2); // Wait cursor When I use the wait cursor from System.Windows.Forms, it turns back to default cursor as soon as I move the mouse: Cursor.Current = Cursors.WaitCursor; Is there a good way to do this in ArcGIS Pro?
... View more
12-06-2019
05:17 AM
|
0
|
4
|
1899
|
POST
|
In an ArcMap Add-In, I created a Tool. In the OnMouseUp Event, I would like to find out if the right or left mouse button has been clicked: protected override void OnMouseUp(MouseEventArgs arg) { } This information should probably be in the MouseEventArgs, but I haven't found out where.
... View more
06-21-2019
02:23 AM
|
0
|
1
|
626
|
Title | Kudos | Posted |
---|---|---|
1 | 09-20-2020 02:31 AM | |
12 | 03-06-2024 02:24 AM | |
2 | 02-28-2024 05:37 AM | |
1 | 01-08-2024 05:13 AM | |
1 | 12-22-2023 04:37 AM |
Online Status |
Offline
|
Date Last Visited |
3 weeks ago
|