• 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. axlDBGetDesign()->pins returns nil?

Stats

  • Replies 8
  • Subscribers 18
  • Views 3865
  • Members are here 0
More Content

axlDBGetDesign()->pins returns nil?

HJerry
HJerry over 7 years ago

Hi all,

I tried to collect all the pins in a design by using axlDBGetDesign()->pins, but it returns nil. 

Am I missing something?

Thanks,

Jerry

  • Cancel
  • Sign in to reply
  • eDave
    eDave over 7 years ago

    A pin is not a child of a board design. You need to use a selection set to get the pins.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • HJerry
    HJerry over 7 years ago in reply to eDave

    Thanks Dave

    Do you know why pins are listed when you do axlDBGetDesign()->?

    Just curious.

    Jerry

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • eDave
    eDave over 7 years ago in reply to HJerry

    They can be a child of a dra etc.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • HJerry
    HJerry over 7 years ago in reply to eDave

    Thanks again.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • B Bruekers
    B Bruekers over 7 years ago

    You can also use this to extract all pins and vias:

    lpins = lvias = nil
    axlExtractMap( "cpad_bv"     lambda( (dbid cpad) case(dbid->objType ("pin" push(dbid lpins)) ("via" push(dbid lvias)))))

    • 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