• 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. Can anyone tell me how to extract teh total number of backdrill...

Stats

  • State Not Answered
  • Replies 4
  • Subscribers 18
  • Views 5369
  • Members are here 0
More Content

Can anyone tell me how to extract teh total number of backdrill plunges using Skill in allegro

Boardman
Boardman over 3 years ago

I am trying to extract the total backdrill plunges using skill in Allegro. Sililar to this from the backdrill report: Total backdrills = 768 

I would prefer to not have to run a report and get the data from parsing a file.

Does noyone know where this information is stored in the allegro board file database?

And how to access it?

thank you

  • Cancel
  • Sign in to reply
Parents
  • Boardman
    0 Boardman over 3 years ago

    Thank you very much. I will give it a try.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Reply
  • Boardman
    0 Boardman over 3 years ago

    Thank you very much. I will give it a try.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Children
  • DavidJHutchins
    0 DavidJHutchins over 3 years ago in reply to Boardman

    I just wrote this:

    procedure((get_backdrill_cnt)
    let((objs cnt data)
    (cnt = 0)
    (objs=list())
    (axlClearSelSet)
    (axlSetFindFilter ?enabled '("noall" "pins" "vias" "invisible") ?onButtons '("noall" "pins" "vias"))
    (axlAddSelectAll)
    (objs = setof(obj (axlGetSelSet) obj->isThrough))
    foreach(obj objs
    (data = axlBackdrillGet(obj))
    when(data
    (cnt++)
    )
    )
    axlMsgPut("BackDrill cnt = %d" cnt)
    cnt
    )
    )

    below is an example of running it:

    \i (00:02:23) skill 'load "c:/users/david1/documents/get_backdrill_cnt.ils"'
    (00:02:23) variable get_backdrill_cnt redefined
    (00:02:23) t
    \i (00:02:25) skill get_backdrill_cnt
    \t (00:02:25) BackDrill cnt = 42
    (00:02:25) 42

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Boardman
    0 Boardman over 3 years ago in reply to DavidJHutchins

    Hi David,

    Thank you very much.

    That is cleaner than what I was trying to do.

    I had 2 loops, one for pins and one for vias.

    Didn't think of isThrough.

    This is great!

    Thank you again.

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