Cycling Through Layers

Cycling Through Layers

Anonymous
Not applicable
2,810 Views
8 Replies
Message 1 of 9

Cycling Through Layers

Anonymous
Not applicable

 

Hello, (My fist post, I'm sure of many)

 

I am looking for a way to cycle through layers using keyboard commands. Even if it happens to be a long and seemingly ridiculous amount of steps to do so.  

 

I have a Contour ShuttlePro v2 and would like to set up the jog wheel to cycle/rotate through the layers, fortunately the shuttlePro allows for Macro programming for long text strings. So any possible combination of keyboard commands to get the process done will work, I just cant seem to find a way to do it using the keyboard.

 

Thanks for any help.

0 Likes
2,811 Views
8 Replies
Replies (8)
Message 2 of 9

Alfred.NESWADBA
Consultant
Consultant

Hi,

 

>> cycle through layers

Can you please explain what you mean by "cycle through layers"?

Do you mean something like _LAYWALK (>>>details<<<) for just one layer and hide all the others?

 

- alfred -

------------------------------------------------------------------------------------
Alfred NESWADBA
ISH-Solutions GmbH / Ingenieur Studio HOLLAUS
www.ish-solutions.at ... blog.ish-solutions.at ... LinkedIn ... CDay 2026
------------------------------------------------------------------------------------

(not an Autodesk consultant)
0 Likes
Message 3 of 9

Anonymous
Not applicable

Sorry, I see now I should have been more specific 

 

so for example, lets say I am working in/with the layer "A" to draw the walls

and i want to change to Layer "B" to draw the doors

 

Currently I have to go to the Layers module click on the drop down and select/click on the layer that I want to use.

 

So i am looking for a set of keyboard commands that will "Cycle" (advance by 1 up, or down the list of layers)

 

example:

Working in layer "A"    **keyboard commands*  working in layer "B"

 

thanks for the help

0 Likes
Message 4 of 9

Alfred.NESWADBA
Consultant
Consultant

Hi,

 

interesting questions, some questions to be answered before someone goes to coding:

  • are you using full version of AutoCAD or a vertical (especially: you are NOT using AutoCAD LT)?
  • what should happen when you use your command for "next layer", but it's already the last layer in the list?
  • what should happen if you activated a layer-filter, should then only the layers be cycled that match that filter?

 

In case you are on full AutoCAD we will ask the admin to move this thread to the customization forum.

 

- alfred -

------------------------------------------------------------------------------------
Alfred NESWADBA
ISH-Solutions GmbH / Ingenieur Studio HOLLAUS
www.ish-solutions.at ... blog.ish-solutions.at ... LinkedIn ... CDay 2026
------------------------------------------------------------------------------------

(not an Autodesk consultant)
0 Likes
Message 5 of 9

S.Faris
Advisor
Advisor

Don't you think that it will overload the PC while scrolling through a list of Layers.E very scroll will make that layer the current  can be a nightmare when you have a ton of Layers.

 

Asking just to confirm that this command is familiar to you : LAYMCUR <<CLICK HERE>>

SALMANUL FARIS

0 Likes
Message 6 of 9

Anonymous
Not applicable

Yes, I am working in the Full version of AutoCAD 2019,  I apologize If have posted in the wrong area.

 

another example, and kind of what I am trying to do.

 

If I type  LAYER (and press enter)  it will bring up the Layers Properties Manager window. this would be great, all i would have to do is use the up and down buttons to get the layer i want.

EXCEPT!

When I type LAYER and bring up the properties manager, that window doesn't have the "focus", it is not active, I have to click on the window to make it live so i can use the up and down buttons.

 

And to follow up, If i found a way to use the keyboard to make that window live (tab does not work, and neither does ALT+Tab) but if i did find a way. how would I exit out of the window using only the keyboard.

0 Likes
Message 7 of 9

Alfred.NESWADBA
Consultant
Consultant

Hi,

 

>> I apologize If have posted in the wrong area

Don't worry about that, admin will move this thread to the customization post ...

 

- alfred -

------------------------------------------------------------------------------------
Alfred NESWADBA
ISH-Solutions GmbH / Ingenieur Studio HOLLAUS
www.ish-solutions.at ... blog.ish-solutions.at ... LinkedIn ... CDay 2026
------------------------------------------------------------------------------------

(not an Autodesk consultant)
0 Likes
Message 8 of 9

ВeekeeCZ
Consultant
Consultant

You certainly don't have go to the Layer Manager and search for your layer.

 

See THIS post of mine and the screencast included. Set you Input Search Options accordingly and then all you need to do to set some particular layer as current is start typing... and it don't even have to by from beginning of a name...

0 Likes
Message 9 of 9

Kent1Cooper
Consultant
Consultant

@Anonymous wrote:

.... i am looking for a set of keyboard commands that will "Cycle" (advance by 1 up, or down the list of layers) ....



There's nothing new under the sun....  Try LayerSteps.lsp with its  L>  &  L<  commands, available >here<.  Once defined, you can assign those command names to Tool Palette items, or keystroke combinations.

Kent Cooper, AIA