• Skip to main content
  • Skip to search
  • Skip to footer
Cadence Home
  • This search text may be transcribed, used, stored, or accessed by our third-party service providers per our Cookie Policy and Privacy Policy.

  1. Community Forums
  2. Allegro X Scripting - Skill
  3. skill for changing trace width in particular region

Stats

  • Replies 13
  • Subscribers 17
  • Views 15206
  • Members are here 0
More Content

skill for changing trace width in particular region

Gowtham229
Gowtham229 over 6 years ago

Hi can any one help provide the skill file for changing trace width in pcb using skill file.Currently i have skill file which can change trace width by selecting layer, existing trace width to new trace width .but for example if i have 5mils trace width in layer 5 it was changing in entire board file. i just want to select only particular region in PCB to change trace width which should not effect other traces. please let me know if any one can help with skill file. 

Regards,

Gowtham 

  • Cancel
  • Sign in to reply
Parents
  • eDave
    eDave over 6 years ago

    Not sure what you mean by "region". If you just want to select using segments in a visible rectangle do something like this:

    axlSetFindFilter(?enabled '("NOALL", "CLINESEGS"), ?onButtons '("NOALL", "CLINESEGS"))
    axlAddSelectBox()
    axlChangeWidth(axlGetSelSet(), newWidth, nil)
    axlClearSelSet()

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Gowtham229
    Gowtham229 over 6 years ago in reply to eDave

    Hi dave thanks for your reply i have seen many of your posts & most of them i'm using currently. can you tell me how to merge this code in .il skill file.please see the image below for which i'm using to change trace width which was changing all the segments in board not in particular area of board

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • eDave
    eDave over 6 years ago in reply to Gowtham229

    The code is very old (2003) and inefficient. I would re-write it all using axlChangeWidth and an embedded form rather than try to modify this code.

    If I get a chance I will look at it next week.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Gowtham229
    Gowtham229 over 6 years ago in reply to eDave

    Thank you so much Dave looking forward to hear from you..

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • eDave
    eDave over 6 years ago in reply to Gowtham229

    Before I do this... You do realise that this can be done using the Edit/Change menu now?

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
  • Gowtham229
    Gowtham229 over 6 years ago in reply to eDave

    Yes dave I'm already using edit change Cline with width by giving multiple mouse clicks for each Cline.but it's taking so much of time for complex boards

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • eDave
    eDave over 6 years ago in reply to Gowtham229

    8321.DE_cwidth.zip

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Reply
  • eDave
    eDave over 6 years ago in reply to Gowtham229

    8321.DE_cwidth.zip

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Children
  • Gowtham229
    Gowtham229 over 6 years ago in reply to eDave

    Thanks dave i'll run this & let you know

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Gowtham229
    Gowtham229 over 6 years ago in reply to Gowtham229

    Hi dave im using 22layer PCB where the new skill sent by you is not showing any source segment current trace width or area to change.please let me know whether im using any option wrong

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • eDave
    eDave over 6 years ago in reply to Gowtham229

    Try this

    2045.DE_cwidth.zip

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Gowtham229
    Gowtham229 over 6 years ago in reply to eDave

    Working perfectly even we can use temp group option.Thank you very much dave for the code..!!

    Regards,

    Gowtham

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Cadence Guidelines

Community Guidelines

The Cadence Design Communities support Cadence users and technologists interacting to exchange ideas, news, technical information, and best practices to solve problems and get the most from Cadence technology. The community is open to everyone, and to provide the most value, we require participants to follow our Community Guidelines that facilitate a quality exchange of ideas and information. By accessing, contributing, using or downloading any materials from the site, you agree to be bound by the full Community Guidelines.

© 2025 Cadence Design Systems, Inc. All Rights Reserved.

  • Terms of Use
  • Privacy
  • Cookie Policy
  • US Trademarks
  • Do Not Sell or Share My Personal Information