• 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. *WARNING* (axlDBPinPairLength): Invalid database id arg...

Stats

  • State Suggested Answer
  • Replies 8
  • Answers 1
  • Subscribers 17
  • Views 2423
  • Members are here 0
More Content

*WARNING* (axlDBPinPairLength): Invalid database id argument

DN202408143132
DN202408143132 over 1 year ago

I'm trying to run the axlDBPinPairLength, but I can't get correct arguments. I've tried axlDBPinPairLength("U44.AB26" "U103.P3") and axlDBPinPairLength(U44.AB26 U103.P3) which gives Invalid database id argument and nil, respectively. Does anyone know what I'm doing wrong?

  • Sign in to reply
  • Cancel
  • eDave
    0 eDave over 1 year ago

    axlDBPinPairLength takes pin dbids as arguments not pin names.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • DN202408143132
    0 DN202408143132 over 1 year ago in reply to eDave

    Hi Dave,

    I also tried to use dbids with no success. I grabbed some pins using "net = car(axlSelectByName("NET" "PROC_EXAMPLE"))" and then lpins = axlPinsOfNet(net, 'pins). I then tried some methods of pasting the dbids:

    axlDBPinPairLength(dbid:000001A43FE50BB0 dbid:000001A44044AB08)

    axlDBPinPairLength("dbid:000001A43FE50BB0" "dbid:000001A44044AB08")

    axlDBPinPairLength(000001A43FE50BB0 000001A44044AB08)

    axlDBPinPairLength("000001A43FE50BB0" "000001A44044AB08")

    Maybe I am inputting the arguments incorrectly? I just started using SKILL today, so apologies for my ignorance here. I am trying to eventually make a custom report to get etch lengths between pin pairs of my own choosing, similar to the "Etch Length by Pin Pair" report. 

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • eDave
    0 eDave over 1 year ago in reply to DN202408143132

    You can't type in the dbids. Try something like axlDBPinPairLength(car(lpins), cadr(Ipins))

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • DN202408143132
    0 DN202408143132 over 1 year ago in reply to eDave

    That worked (assuming cadr is a typo and should be car). My question now is that how would one go about and specify a pin if the net has multiple pins? Is there also a way to convert dbids into something that axlDBPinPairLength would take as an argument? 

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • eDave
    0 eDave over 1 year ago in reply to DN202408143132

    cadr isn't a typo. It returns the second item in a list.

    To get the correct pin requires an understanding of Skill that you will need to develop.

    dbids are dynamic so  you should never "convert" them.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • 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