chuckt

Layer Toggle

Discussion created by chuckt on Jan 6, 2016
Latest reply on Jan 8, 2019 by chuckt

Have you ever wanted to quickly switch to a different layer while routing? Of course you have, F4... Duh!

 

What if you want to switch to a layer that isn't part of your current layer pair, Lx<Enter>... I hate that.

 

Several years ago I asked PADS to give us access to the currently active layer property, and a few versions later they actually did it. For various reasons I haven't put much effort into using it until this morning. I have this macro mapped to Alt+F4

 

current_layer = Application.ActiveDocument.ActiveLayer

if current_layer >= Application.ActiveDocument.ElectricalLayerCount then

  Application.ActiveDocument.ActiveLayer = 1

else

  Application.ActiveDocument.ActiveLayer = current_layer + 1

end if

 

It will toggle to the next electrical layer and roll back to L1 after hitting the electrical layer count... I like that

Using this macro in conjunction with the ZC modeless setting will display the layers one at a time, in succession... I like that too

 

PS

I actually have it mapped to Alt+4 also... because I mapped all the F keys to there corresponding number key so I don't need to stretch so far.

Attachments

Outcomes