• 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. Number of Vias in a place bound region

Stats

  • Replies 1
  • Subscribers 160
  • Views 12628
  • Members are here 0
More Content

Number of Vias in a place bound region

Wale
Wale over 12 years ago

Hi all, i am new to this forum and new to skill..... i was wondering if anyone has a Skill script that could list the number of vias ( xy-cord), the via-padstack, and the package_hieght_min in a palce bound top and place bound bottom of package geometry?

also, if anyone has a skill script that could count the number of vias in a brd file. i would like to take a look and compare with mine. mine is not compiling.

Thanks

  • Sign in to reply
  • Cancel
  • aCraig
    aCraig over 12 years ago

    To count all the vias in a brd file,

    - Set the find filter to only Vias

    - Turn on only the Via Class layers

    - Select All

    - Get the length of the selection set

    To sort them by padstack you will need to loop on the selection set (foreach would be best) and put them into lists (or table) by padstack name. Then you can print the xy location for each padstack name.

    Post your code, to get some feedback.

    Craig

    • 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