Quantcast
Channel: Mentor Graphics Communities: Message List
Viewing all articles
Browse latest Browse all 4541

Layer Toggle

$
0
0

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.


Viewing all articles
Browse latest Browse all 4541