POST
|
The interactive Merge (Data Management Tools) of 2.9.0 is not working as expected. The Field Map part will not automatically match the fields -- just one entry per field in the Source. The Refresh button does not help at all. In 2.7.3 the field map of interactive Merge worked perfectly with the same input data (8 feature classes). The Source shows (8) entries per field -- though in dark mode the gray (8) is very hard to see! Also, in 2.9.0 the field map matching worked perfectly by using arcpy.management.Merge() in the Python window.
... View more
11-30-2021
03:48 AM
|
0
|
0
|
269
|
POST
|
Yes Gintautas, that code in Combo Box Reload showed the way. The add-in has classes Module1, MapTool1, ComboBox1, plus my own Database. The required call from MapTool1 works fine and is simply Module1.Current.ComboBox1.SearchXY(x, y); Visual Studio made some suggestions to simplify the code (and the Config.daml needed no change). In brief, the additions / modifications were: Module1: public ComboBox1 ComboBox1 { get; set; } = null; ComboBox1: public ComboBox1() { if (Module1.Current == null) return; Module1.Current.ComboBox1 = this; this.database = new Database(); //UpdateCombo(); }
... View more
08-22-2020
12:26 AM
|
0
|
0
|
549
|
POST
|
Thanks Gintautus, That code looks promising. Will the DAML need to be changed? I wish that the SDK did the work for me. The add-in's default Module singleton would provide access by some "FindItem" method.
... View more
08-20-2020
10:56 PM
|
0
|
1
|
549
|
POST
|
In the SDK's Examples\MapExploration\GetMapCoordinates.cs, the map coordinates become available in HandleMouseDownAsync(...). Afterwards, still in HandleMouseDownAsync(...), I need to invoke a method defined in a ComboBox, something like: public void SearchXY (double x, double y)
{ this.queryRows = this.database.Query(x, y); UpdateCombo(); } How can I obtain a reference to this ComboBox? Or is an event needed?
... View more
08-20-2020
05:58 PM
|
0
|
4
|
637
|
POST
|
It now seems that no extra code is needed. The C key is working, allowing me to pan while the MapTool is selected. I am in Visual Studio, testing, and the C key was NOT happening 30 minutes ago!
... View more
08-19-2020
09:54 AM
|
0
|
0
|
241
|
POST
|
Using the SDK's Examples\MapExploration\GetMapCoordinates.cs, how could OnToolMouseDown(...) be modified to avoid HandleMouseDownAsync(...) if the C key is depressed? My idea is that the user should be able to pan with the left mouse button. The answer may involve something like System.Windows.Input.AccessKeyPressedEventArgs.
... View more
08-19-2020
08:43 AM
|
0
|
1
|
270
|
Online Status |
Offline
|
Date Last Visited |
11-30-2021
05:11 AM
|