• 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. Creating a Via Matrix Using Skill

Stats

  • Replies 6
  • Subscribers 159
  • Views 14344
  • Members are here 0
More Content

Creating a Via Matrix Using Skill

Kevinko
Kevinko over 8 years ago

Hi,

I know that there is an option that lets you create a Via Matrix, but I want to know how that is done programmatically. I noticed that if you try placing via by via in a board it takes a lot of time.. e.g.create vias from (0,0) to (500,600) with a distance of 100 between them. This takes more time than it should if you have to create more vias, but the option to create a via matrix does it 10 times faster.

I'm currently using this method: axlDBCreateVia(padstack x:y)

Any Information or help will be appreciated.


Thank you!

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

    Do you mean something as simple as this:

    for(x, 0, 5, for(y, 0, 6, axlDBCreateVia(padstack, x * 100:y * 100)))

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • B Bruekers
    B Bruekers over 8 years ago
    And then place it in a cloak to make it even faster; axlDBCloak( 'for(x, 0, 5, for(y, 0, 6, axlDBCreateVia(padstack, x * 100:y * 100))) '(shape))
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Kevinko
    Kevinko over 8 years ago
    Yes, that's what I'm doing. The only problem is that it takes a lot of time if I'm creating more than 30 vias inside the board, but if I create them outside the board they are created instantly. I believe that axlDBCreateVia is doing something in the background, maybe updating other shapes. But I don't know how to speed it up.
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Kevinko
    Kevinko over 8 years ago
    Oh awesome, that seems to have improved it dramatically
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • B Bruekers
    B Bruekers over 8 years ago
    The cloak prevents the dynamic shapes to update during via placement and only updates once on the end of the function.
    Another thing you can do is to zoom to a point, lets say around the origin, and turn all visibility/layers off. I've noticed that this also helps to speed things up when creating large amount of vias or shapes.
    • 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