• 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 PCB Editor
  3. Replace pin?

Stats

  • Replies 4
  • Subscribers 158
  • Views 13323
  • Members are here 0
More Content

Replace pin?

archive
archive over 17 years ago

Hi,

Does anyone have a skill file that will replace pins within a design?
I need to randomly swap padstacks on multiple connectors that have the same footprint.
I'd like to be able to select the pins using temp group and then change them all at the same time.

'replace pin' from "replace_via.il" only replacespins within a .dra.

Any help much appreciated,
M


Originally posted in cdnusers.org by malcs
  • Sign in to reply
  • Cancel
  • archive
    archive over 17 years ago

    Hi,

    Can you use the Tools/Padstack/Replace function?

    Cheers, Dave


    Originally posted in cdnusers.org by Dave Elder
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • archive
    archive over 17 years ago

    Hi Dave, The padstack replace works fine, but I've a few hundred pins that need replaced on many connectors. No two connectors have the same pins replaced. I was just looking for a skill routine that would speed up the process. Thanks, M


    Originally posted in cdnusers.org by malcs
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • archive
    archive over 17 years ago

    Hi Malcolm,

    The following code might help you.

    CHeers, Dave

    defun( TU_replacePads ()
    let((pins, padstack)
    axlClearSelSet()
    axlSetFindFilter(?enabled '("NOALL", "PINS"), ?onButtons '("PINS"))
    axlSelect(?prompt "Select pins")
    pins = axlGetSelSet()
    when(pins
    padstack = car(axlUIDataBrowse('PADSTACK '(RETRIEVE_NAME, EXAMINE_DATABASE), "New Pad Name", t))
    when(padstack, axlReplacePadstack(pins, padstack))
    )
    axlClearSelSet()
    axlFinishEnterFun()
    ))


    Originally posted in cdnusers.org by Dave Elder
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • archive
    archive over 17 years ago

    Hi Dave,

    Many many thanks for the code. It worked a treat.

    Cheers,
    M


    Originally posted in cdnusers.org by malcs
    • 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