Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

I'm using ArcGIS 10.2 for Desktop and wish to remove/delete a layer from the Table of Contents.

I cannot find such hotkey. I have tried the DELETE button but that does not do it.

Also such hotkey is missing in the ArcGIS Help.

share|improve this question

1 Answer 1

up vote 3 down vote accepted

I just tested using ArcGIS 10.2.2 for Desktop and my expectation was that highlighting a layer (or layer group) in the Table of Contents would activate the Remove button on the Standard toolbar - but it did not. I also tried the Delete key and Ctrl-X but neither of them allow you to remove a selected layer either.

As far as I can tell the only ways to remove a layer from the Table of Contents are:

  • from the Main Menu use Edit | Remove
  • from a layer's context menu choose Remove

There is no shortcut key to remove a layer documented on the Keyboard shortcuts in ArcMap page so I think you can assume that one does not exist.

share|improve this answer
2  
I also tried adding a keyboard shortcut manually via > Customize > Keyboard, then Categories = Layer. The shortcut is set, and shows up when you right-click on the layer and choose Remove - but the shortcut doesn't actually work. Presumably the keyboard shortcut is unable to access the layer's context menu. –  Stephen Lead Aug 11 at 6:41
    
I have found a tricky way to delete layer using only a keyboard, but it is not as fast as I expected, also after deleting a layer - keyboard cursor (selection) is moved at the top of table of content (TOC). So this way is not suitable for fast layers deleting. My task was deleting every second layer in TOC for about 200 layers (that was really slow with a mouse). Here is the method: 1)select a layer(s) 2)push Menu key at keyboard 3) press R –  Mr. Che Aug 11 at 6:53
    
@user2829863 for that many layers, I'd be tempted to write a Python script using arcpy.mapping RemoveLayer –  Stephen Lead Aug 11 at 7:01

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.