POST
|
Thank you again Uma, for some reason the pane still doesn't close, could there be a level of protection preventing it from being closed? I've attached a msg box below: FrameworkApplication.Panes.ClosePane(instanceID); ArcGIS.Desktop.Framework.Dialogs.MessageBox.Show("Closed pane " + instanceID); and it pops up a dialog saying "closed pane 9" but nothing is actually changes
... View more
09-19-2017
11:09 AM
|
0
|
0
|
9
|
POST
|
Thanks Uma, I'm trying it but not having any luck. MyPaneID is a unsigned int, would I find it using this.InstanceID; ?
... View more
09-19-2017
09:48 AM
|
0
|
2
|
9
|
POST
|
Hello, I was wondering if there was a way to close an add-in pane when Arcpro is shutdown. As you know Arcpro remembers which tabs/windows were open in the previous session, and I don't want the add-in tab to be available when the application is reopened. Are there any simple overrides that I could implement? Alternatively on open would be fine too, I've been trying this.close(); and FrameworkApplication.Panes.ClosePane(this.InstanceID); but can't get them to work
... View more
09-19-2017
08:09 AM
|
0
|
10
|
259
|
POST
|
Thanks Wolf. I had previously thought build action was done in code but couldn't find it, that makes far more sense.
... View more
09-15-2017
09:34 AM
|
0
|
0
|
97
|
POST
|
Hello, I'm following the community samples and am trying to change the icon for my add in button. Its not working however, even though I have two buttons (one 16x16, other 32x32 like in the samples). They are present in both Images and Dark Images folders too, incase that mattered. They just dont load. The line in the DAML file <button........ smallImage="Images\tree16.png" largeImage="Images\tree32.png"> However I also use the same images for a window icon elsewhere, and it works perfectly. I've even tried the EvilGenius16/32.png from the samples and still no luck. Meanwhile the GenericButton16/32 png's do work. I cannot find any reference to the Generic buttons anywhere in the entire project though, so I don't know if I'm missing a resource loading step or something.
... View more
09-15-2017
08:47 AM
|
1
|
6
|
653
|
POST
|
Hello, I am currently using an edit operation paired with an inspector to modify a row of a feature layer. However sometimes it works, sometimes it doesn't (I can modify the same row multiple times, setting the same values, with mixed outcomes). What are possible reasons for this operation to fail? I know that mismatch values cause it to fail (eg. give it a str instead of int) however it is definitely not that since it works occasionally. Any help is appreciated.
... View more
09-06-2017
01:06 PM
|
0
|
3
|
232
|
POST
|
Thank you Mervyn, that solved my problem. My add-in updated the table of attributes but did not save afterwards, preventing me from saving my changes to the tableview.
... View more
09-06-2017
11:15 AM
|
1
|
0
|
474
|
POST
|
Thanks Dan, The issue for me is that I am unable to save after making any changes, but the popup warning confirms that changes have been made, despite the save button being greyed out
... View more
09-06-2017
10:36 AM
|
0
|
5
|
1043
|
POST
|
Yes, it happens on every layer in my FGDB (including different geometry types). I have not tried with another FGDB however
... View more
09-06-2017
09:53 AM
|
0
|
0
|
1043
|
POST
|
I'm working with ArcPro 2.0.0, working on a polygon layer within a file gdb
... View more
09-06-2017
09:20 AM
|
0
|
2
|
1043
|
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:24 AM
|