POST
|
Cool, thanks for the fast reply. I also found this in the mean time: ProGuide Custom settings · Esri/arcgis-pro-sdk Wiki · GitHub
... View more
09-03-2019
06:36 AM
|
0
|
0
|
482
|
POST
|
When writing an add-in for ArcGIS Pro, is it possible to add sections to the Project → Options window? I would like to store settings for my add-in, and it would be nice to integrate those in the existing window, rather than having an extra 'settings' button on the ribbon, to open a custom window.
... View more
09-03-2019
06:08 AM
|
0
|
2
|
531
|
POST
|
One of our user stories described a rule where after a split, a certain attribute value of one of the parts should retain its value, whereas that value for all other parts should be set to 0. I was so focused on the split action, that I didn't think of the more general rule where all new features should have that value set to 0. This can easily be achieved by listening to the RowCreated event.
... View more
05-28-2019
12:00 AM
|
0
|
0
|
541
|
POST
|
I know this is a very old thread, but since it took me forever to find out how this works, I'll post anyway. To relate records from two tables that already have a relationship class defined, do this: Open the table view for both featureclasses / tables Select the records you want to relate On the Edit tab on the ribbon, click the Attributes button to open the Attributes pane. The top part contains the selected records. Expand either one of the records, so that the name of the relationship class becomes visible Right click on the relationship class, and select Add Selected to Relationship
... View more
05-23-2019
05:35 AM
|
5
|
0
|
2694
|
POST
|
Thanks for the reply, Sean. It turned out this was an X/Y problem, so I don't need a Split event in the end.
... View more
05-22-2019
11:54 PM
|
0
|
2
|
541
|
POST
|
Is there a way to detect if a user has performed a Split operation? I noticed that in this case the EditCompleted event has 1 'Modify', and 1 or more 'Creates'. In my case, the table has an ID field that must be unique, so I could check if in this situation all created records have the same ID as the modified record, but I was hoping there was a simpler way.
... View more
05-21-2019
07:29 AM
|
0
|
4
|
643
|
POST
|
Thanks, that seems to be what I was looking for. Is there a way to get hold of the modified features at that point? Or do I have to keep track of it myself, when CompletedType is Operation?
... View more
05-17-2019
01:03 AM
|
0
|
1
|
474
|
POST
|
Is there a way to detect when a user presses the Save button, after making changes to a featureclass? I know of the EditCompletedEvent, but that's fired directly after a row is edited. I would like to know when the final commit to the database occurs. If it makes any difference, I'm using a File Geodatabase, not an Enterprise Geodatabase.
... View more
05-16-2019
05:51 AM
|
1
|
3
|
561
|
POST
|
I managed to find a workaround: I added a class with one empty method to the library containing my usercontrol. When calling this method from the Dockable Window's constuctor, the dll is loaded, and can be found at the time the usercontrol is needed.
... View more
11-28-2018
03:24 AM
|
0
|
0
|
548
|
POST
|
I am developing an ArcMap add-in containing a Dockable Window. Because I expect this add-in to be moved to ArcGIS Pro at some time, I chose to use WPF instead of Windows Forms. The idea is that I create UserControls that can be hosted in both an ArcMap Dockable Window and an ArcGIS Pro Window. These UserControls will go in a separate class library. The problem I have now is that this class library cannot be found by the add-in. I checked the .esriAddin file, and the directory %LocalAppData%\ESRI\Desktop10.4\AssemblyCache\{MyAddinGuid} but the dll is there. Using the Process Monitor tool, I found out that the dll is only looked for in C:\Program Files (x86)\ArcGIS\Desktop10.4\bin, and not in the AssemblyCache\{} folder. (When I copy the dll to the Desktop\bin folder, everything works as expected, but I don't want to put it there) Does anyone know what's going on? ArcGIS 10.4.1 Visual Studio 2015 .NET Framework 4.5
... View more
11-28-2018
02:40 AM
|
0
|
1
|
934
|
POST
|
I use the EditOperation class to do some edits, and also RelationshipClass.DeleteRelationship to delete a features's relationship to another table. When I undo the edits using the standard Undo tool, edits are reverted properly, but relationships are not restored. This makes sense, because the relationshipclass has no knowledge of the EditOperation. Is there a way to make this work?
... View more
06-21-2018
12:20 AM
|
0
|
1
|
266
|
POST
|
No, that's basic XML: <disabledText></disabledText> is exactly equal to <disabledText />
... View more
06-20-2018
11:46 PM
|
1
|
0
|
638
|
POST
|
Great. All my buttons inherit from a single class (which in turn inherits from Button) so I put this in the base constructor: var wrapper = FrameworkApplication.GetPlugInWrapper(ID);
TooltipHeading = wrapper.TooltipHeading; Still, I don't really understand why the TooltipHeading is empty in the first place.
... View more
06-20-2018
11:45 PM
|
0
|
0
|
638
|
POST
|
I have a simple ArcGIS Pro add-in, with a button defined in the daml: <button id="ProAppModule2_Button1" caption="Click me" className="Company.Project.Button1"
loadOnClick="true"
smallImage="Images\sample16.png"
largeImage="Images\sample32.png"
keytip="This is a tip">
<tooltip heading="This is a heading">Tooltipbody<disabledText /></tooltip>
</button> However, inside the button class the TooltipHeading is an empty string. (Tooltip contains the text 'Tooltipbody'). What am I missing?
... View more
06-20-2018
08:25 AM
|
0
|
4
|
700
|
POST
|
What would be the best way to add logging to my Addin? I found the EventLog class in the ArcGIS Pro 2.1 API Reference Guide , but EventLog.IsEnabled is false, and I have no idea how to enable it. Should I use a 3rd party library such as Log4Net?
... View more
06-13-2018
06:45 AM
|
0
|
1
|
2012
|
Title | Kudos | Posted |
---|---|---|
1 | 10-02-2019 07:47 AM | |
1 | 07-25-2023 07:28 AM | |
1 | 12-06-2019 12:29 AM | |
1 | 12-09-2022 02:43 AM | |
3 | 03-16-2021 02:50 AM |
Online Status |
Offline
|
Date Last Visited |
02-15-2024
04:35 AM
|