Hai, Is there an option to quickly scroll/switch active Films like we perform in Altium (combination Shift+Ctrl+Mouse Scroll) and Single layer mode (Shift+S) Cadence is environment requires more Mouse Clicks.Is there a way to directly input commands into command window rather than using the mouse to select. Thank you
i would use funckeys.
you can use the following funckey on your env file:
funckey 1 "QtSignal ColorVisibilityPane CVPGlobalVisOff clicked;QtSignal CVPLayerGrid CVPBoxAllL1 clicked true"
you press the "1" key, nothing but only the L1 layer shows up.
Hello Hai, we have seen your post to the community and would like to add the following:
As standard the "-" and "+" keys allow you to quickly scroll to the desired layer when you commence routing.
It is also possible to set up a function key to call the popup menu selecting the "swap layer" command. This swaps active and alternate layers if the route command is running. To set this up simply enter funckey s 'pop swap' (where "s" becomes the key press to two swap layers)
Another powerful function key you can set is the following:
funckey v "setwindow form.mini FORM mini alt_subclass TOP setwindow;pop bbdrill"
This will place a via during routing and continue routing on the new active layer.
Even better, if you are operating in working layer mode, then the add via window will appear at your cursor and allow you to quickly choose which layer you wish to route next based upon the working layers you have set in the active options tab.
You can prepare these function keys to automatically operate in all your designs by setting them in the env file located in your pcbenv folder. These things are typically set up by company engineering admins to suit operational norms. You can check your function keys and alias commands at any time using menu Tools > More > Aliases/Function Keys...
Hai, Thank you for your reply. I have addedfunckey + subclass -+funckey - subclass --within the env file to switch the layers, but the problem is "+ and -" keys are on the far right, and my right hand is always on the mouse.And at the left side keys are already assigned to many other functions. What I really need is a combination of "Ctrl+Shift+Mouse Scroll" to switch layers, so I don't really have to move my fingers much.Is there a way to assign "Middle Mouse Click, Middle Mouse Scroll" within the env file. - Thank you,
Hi Visakh, Ok I have got it with some digging:
In order to provide the functionality asked for Allegro has added the button, and unbutton commands.
Assigns an action to occur when you roll the mouse wheel up or down. Works only in Cadence tools on Windows, not at the operating-system level. The default mouse wheel behavior is zoom in and out, which is set in the global env file.
button <modifier> <wheel> <wheel_up> <wheel_down> <action to execute>
modifier - Create buttons with or without Shift and Control keys or a combination of both. Modifiers are S (shift key), C (control key), and SC (shift and control) and are case sensitive.
Please try the following:
button Swheel_up subclass -+
// Changes the active subclass when you press the Shift key and roll the mouse wheel up.
button Swheel_down altsubclass -+
// Changes to an alternative subclass when you press the Shift key and roll the mouse wheel down while using the .add connect command.
You can also try the following examples as time savers using the Control key:
button Cwheel_up add connectbutton Cwheel_down done // Or "slide" etc...
Thank you John. I have added button SCwheel_up "subclass -+"button SCwheel_down "subclass --"to achieve the functionality. Now Ctrl+Shift+Mouse Scroll will turn on the adjacent layer.Is there any way I can turn off the previous layer?example: I am in L1-layer, Ctrl+Shift+Mouse Scroll will turn on L2 additionally it must Turn off L1Is there a way I can achieve this ?Thank you again!!