• 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. Pin / Via Property Locator / Report

Stats

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

Pin / Via Property Locator / Report

eddieb1
eddieb1 over 10 years ago

Hello Experts,

Just wanting to know if there's a way to find a pin / via on a board design where a specific property is attached to it? Then once found create a report where the the Pin_name and net name is listed along with its x-y locations (i.e. XY coordinates)? The x-y coordinates must be active such that when you click on them it will take you the exact location of the pin/via.

Also the pin / via property I have in mind is the No_Shape_Connect Property.

How do you go about this?

Thank you in advance.

Eddie.

  • Sign in to reply
  • Cancel
  • eDave
    eDave over 10 years ago
    defun( DE_findPinsWithProperty (@optional (prop "NO_SHAPE_CONNECT"))
    let((pins, p)
    axlSetFindFilter(?enabled '("NOALL", "PINS"), ?onButtons "PINS")
    axlAddSelectAll()
    pins = setof(pin, axlGetSelSet(), get(pin ->prop, prop))
    axlClearSelSet()
    p = axlDMOpenLog("propPins")
    unless(pins, fprintf(p, "No pins found\n"))
    foreach(pin, pins, fprintf(p, "Pin Name: %s, Net: %s, Location: %L\n", pin ->name, pin ->net ->name, pin ->xy))
    axlDMClose(p)
    axlUIViewFileCreate("propPins.log" sprintf(nil, "Pins with property: '%s'", prop), t)
    ))
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • eddieb1
    eddieb1 over 10 years ago
    Thanks a lot Dave. Ill give a run.
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • eddieb1
    eddieb1 over 10 years ago
    Works like charm Dave!!! Thanks again.
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • eddieb1
    eddieb1 over 10 years ago
    Hi Dave, one request - can you please add a code that will highlight the pin/via when you pick the x-y coordinates? Thanks again Dave.
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • eDave
    eDave over 10 years ago
    Hi Eddie, that's much more complex code and requires a form to trigger the highlights. An easier alternative might be to highlight all pins with the property before firing up the log file.
    • 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