Esri / military-tools-desktop-addins

Military Tools for ArcGIS is a collection of mission-focused enhancements to simplify defense and intelligence workflows in ArcGIS.
Apache License 2.0
26 stars 15 forks source link

Deleting graphics after initial session #94

Closed sindizzy closed 4 years ago

sindizzy commented 5 years ago

So I use the Distance and Direction Add-In>Rings functionality quite a bit. In Pro I can add rings to a Map view and it works well. However I close the session and open the project later on. My range rings are still there but what if i want to delete and start over or change the color of the graphic. I cannot see any tool that lets me select the graphic in a Map View.

Also when I go to a Layout view I don't think the tool works so shouldn't it be disabled? If you activate a map frame then it should be enabled.

Your Environment

csmoore commented 5 years ago

In Pro, the Clear button on the Rings tab should clear any rings created (even if in a previous session) unless there is a bug in a certain scenario.

sindizzy commented 5 years ago

Nope. That button gets disabled in a new session. BUT what I didn't realize is that in Pro the rings are not graphics at all...they are saved as feature classes in the project geodb by default. The "Clear" and "Save As" buttons are there but to enable them you have to generate another range ring. Then it appears to clear out ALL range rings you ever built with the tool and not just the ones from the current session. However it looks like it could just be a refresh bug.

sindizzy commented 5 years ago

It looks like I am still in an edit session. If I close the project and save edits then when I reopen then it appears that there are leftover features in the Distance And Direction dataset. If I zoom in to Range Rings it zooms in to the area where they should be but they are not displayed.

csmoore commented 5 years ago

The Clear button should be enabled anytime the Range Rings feature class has features, and yes it does clear out all of the rings/features in the feature class - but it might be a bug (something having to do with the interaction with the Layout view). If you can come up with reproducible steps, can you edit the original issue with the steps to reproduce the problem.

For the rings not show up problem I would just suggest:

  1. making sure the Distance and Direction layer is the top most layer and visible
  2. opening the Range Rings feature class in the table view and verify that there is data there.

I tried opening and closing a project with existing data and it seemed to behave:

image

sindizzy commented 5 years ago

It appears the RangeRings feature class is still there but with no features.

sindizzy commented 5 years ago

I'll see if I can recreate the issue.

lfunkhouser commented 5 years ago

@sindizzy We will continue to try to repro on our end, but if you have steps to reproduce the issue, it would be appreciated if you can provide them.

lfunkhouser commented 4 years ago

@sindizzy Wanted to let you know that the capabilities provided with Military Tools for ArcGIS are now available in the newly released ArcGIS Pro 2.6 - available out of the box without an additional install.

lfunkhouser commented 4 years ago

Closing this issue as non-reproducible.