I would like to know if there is a simple way to change the cline width while routing.
I am using Allegro PCB design L 16.3.
According to my knowledge, the ways to change the width is to go to the option menu or to use the right click menu.
As both options are time consuming, I would prefer to change the width by using a funckey that will increase/decrease the width according to predefined data.
Would much appreciate your help in this matter.
If your design unit in mm, just add following skill code to your env file (permanent) or type in command window for current design.
So, with shortcutkey "w" you can change track width while routing from 0.1 to 2 mm in steps.
funckey w 'settoggle minw .1 .2 .3 .4 .5 .8 1 1.2 1.5 2; setwindow form.mini; FORM mini acon_line_width $minw; setwindow pcb'
Hope this will help you.
In reply to Prasad K:
It works perfectly.
Thank you very much!!!
In reply to Miki A:
If you don't like to step through all the widths you can create fixed shortcuts.
Either use numeric keys directly or l1 l2 l3 l4 (l like lima), but the latter requires that you don't have a funckey assigned to l
funckey l1 'setwindow form.mini; FORM mini acon_line_width .1;setwindow pcb'
funckey l2 'setwindow form.mini; FORM mini acon_line_width .2;setwindow pcb'
funckey l3 'setwindow form.mini; FORM mini acon_line_width .3;setwindow pcb'
funckey l4 'setwindow form.mini; FORM mini acon_line_width .4;setwindow pcb'
In reply to Ejlersen:
Is there a way to use the mouse wheel to move up and down the list of recently-used line widths? I assume it involves "button wheel_down" (or some variation adding Ctrl and/or Shift keys) and "acon_line_width" in my env file, but I can't figure our the current syntax.
In reply to EvanShultz:
button Swheel_up subclass -+button Swheel_down subclass --
to scroll the subclasses while routing. But changing "subclass" to "acon_line_width" or "line_width" doesn't work. It's weird that subclass is not an actual command, active_subclass is. So I guess the best bet is to do what was mentioned earlier, but use button.
button Swheel_up 'settoggle width 5 6 8 10 constraint; setwindow form.mini; FORM mini acon_line_width $width; setwindow pcb'
Just put all the typical widths you'd use.
In reply to aCraig:
We use a wide variety of line here for logic/digital, power, etc. The list would be very long. Also, our sustaining engineer department still works with some boards designed in mils, which obviously isn't compatible with boards in mm.
Since the DB knows the MRU list of line widths, it would be very nice to tap into the last while scrolling the mouse wheel.
I did find that "button wheel_up FORM mini acon_line_width Constrain" works, but that's the only predefined line width which is compatible across all potential board designs.
Contact Cadence, maybe there's a hidden command name for line width.