Home > Community > Forums > PCB Design > Change cline width while routing

Email

* Required Fields

Recipients email * (separate multiple addresses with commas)

Your name *

Your email *

Message *

Contact Us

* Required Fields
First Name *

Last Name *

Email *

Company / Institution *

Comments: *

 Change cline width while routing 

Last post Tue, Apr 9 2013 5:25 PM by EvanShultz. 8 replies.
Started by Miki A 22 Jun 2010 12:02 AM. Topic has 8 replies and 3549 views
Page 1 of 1 (9 items)
Sort Posts:
  • Tue, Jun 22 2010 12:02 AM

    • Miki A
    • Not Ranked
    • Joined on Thu, Aug 27 2009
    • Posts 2
    • Points 40
    Change cline width while routing Reply

     Hello Members,

     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.

    Miki. 

    • Post Points: 20
  • Tue, Jun 22 2010 2:29 AM

    • Prasad K
    • Not Ranked
    • Joined on Tue, Apr 6 2010
    • Posts 5
    • Points 70
    Re: Change cline width while routing Reply

     Hello Miki,

    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.

     

    -Prasad

    • Post Points: 20
  • Tue, Jun 22 2010 2:54 AM

    • Miki A
    • Not Ranked
    • Joined on Thu, Aug 27 2009
    • Posts 2
    • Points 40
    Re: Change cline width while routing Reply

    Dear Prasad,

    It works perfectly.

    Thank you very much!!! 

    • Post Points: 20
  • Tue, Jun 22 2010 8:56 AM

    • Ejlersen
    • Top 10 Contributor
    • Joined on Mon, Jul 28 2008
    • Aalborg, Copenhagen
    • Posts 569
    • Points 10,080
    Re: Change cline width while routing Reply

    Hi

    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'

    etc. 

    Best regards

    Ole

    Best regards Ole
    • Post Points: 20
  • Mon, Apr 8 2013 5:40 PM

    Re: Change cline width while routing Reply

    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.

    • Post Points: 20
  • Tue, Apr 9 2013 9:30 AM

    • aCraig
    • Top 50 Contributor
    • Joined on Sat, Aug 16 2008
    • Pepperell, MA
    • Posts 132
    • Points 2,070
    Re: Change cline width while routing Reply

    I use

    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.

    Craig

    • Post Points: 20
  • Tue, Apr 9 2013 10:41 AM

    Re: Change cline width while routing Reply

    Thanks Craig!

    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.

    • Post Points: 20
  • Tue, Apr 9 2013 10:48 AM

    • aCraig
    • Top 50 Contributor
    • Joined on Sat, Aug 16 2008
    • Pepperell, MA
    • Posts 132
    • Points 2,070
    Re: Change cline width while routing Reply

    Evan,

    Contact Cadence, maybe there's a hidden command name for line width.

    Craig

    • Post Points: 20
  • Tue, Apr 9 2013 5:25 PM

    Re: Change cline width while routing Reply
    Yep. I did that yesterday. If there is a solution I'll post it here.
    • Post Points: 5
Page 1 of 1 (9 items)
Sort Posts:
Started by Miki A at 22 Jun 2010 12:02 AM. Topic has 8 replies.