• 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. Find by Query - Vias of certain nets

Stats

  • Replies 4
  • Subscribers 159
  • Views 4998
  • Members are here 0
More Content

Find by Query - Vias of certain nets

LouShay
LouShay over 5 years ago

Hi, I’m trying to select Vias of a certain Padstack Name, AND belongs to certain nets. It appears the Query function cannot AND two Object types.  Am I missing it?

User story: I have a design with two different via padstacks used throughout. Now I want to change all vias not used for power/gnd to the smaller via. 

Thanks for any help you can provide.

The result of this Query selects all VIA2010's on the design. Not just those on the listed nets. 

  

  • Sign in to reply
  • Cancel
Parents
  • DavidJHutchins
    DavidJHutchins over 5 years ago

    With 17.4 S007 I got the query to work in 'show element', however in 'replace padstacks' the 'find by query' is not enabled

    below is the relevant section of the *.qfnd' file:

    *Objects filtered

    "Type" "Vias"

    *Find Filters

    "Filter" "Via"
    "Filter" "AND" "Padstack Name" "equal to" "V_C20P10C26TP_PASTE_TRIAD,C26_WPASTE" "Vias" " " "0" "0"
    "Filter" "AND" "Net" "equal to" "GND,3P3V,3P3V_AUX" "Vias" " " "0" "1"

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Reply
  • DavidJHutchins
    DavidJHutchins over 5 years ago

    With 17.4 S007 I got the query to work in 'show element', however in 'replace padstacks' the 'find by query' is not enabled

    below is the relevant section of the *.qfnd' file:

    *Objects filtered

    "Type" "Vias"

    *Find Filters

    "Filter" "Via"
    "Filter" "AND" "Padstack Name" "equal to" "V_C20P10C26TP_PASTE_TRIAD,C26_WPASTE" "Vias" " " "0" "0"
    "Filter" "AND" "Net" "equal to" "GND,3P3V,3P3V_AUX" "Vias" " " "0" "1"

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Children
  • LouShay
    LouShay over 5 years ago in reply to DavidJHutchins

    Thanks for the feedback David. I appreciate your time and effort.     I should have specified version 17.2.

    I'm not sure about 'show element' versus 'replace padstack'. Isn't the Query function independent of a command?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • mcatramb91
    mcatramb91 over 5 years ago in reply to LouShay

    It looks like you have the Query worked out with David's help, needed to stay within the Via Object Type and query by Padstack and Net Names.

    You can use Find By Query to select all the Vias on the canvas that are not power/gnd then replace the padstack right on the canvas.

    • Open Find By Query and Load Query
    • RMB > Select All on the Find By Query results spreadsheet to select the Vias on the canvas
    • Hover over one of the selected Vias on the canvas and use RMB > Replace padstack > Selected instance(s)
    • Select the padstack to use for the replacement and Click OK

    Hope this helps,
    Mike Catrambone

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • LouShay
    LouShay over 5 years ago in reply to mcatramb91

    Well now I have Mike. Maybe I needed a good nights rest. I was trying to AND two different Objects until I finally saw Net and Padstack Name in the Fields list. So selecting the Padstack Name and Net Fields will automatically AND the query. 

    • 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