• 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. finding neighboring components of a pin - axlAirGap hel...

Stats

  • Replies 2
  • Subscribers 18
  • Views 4101
  • Members are here 0
More Content

finding neighboring components of a pin - axlAirGap help

solene D
solene D over 4 years ago
Hello, 
I am new to skill and I need help please.

I try to find all the neighboring components of a pin (present in a certain radius r from the pin) in order to determine those which are too close to the pin.
For that, I would like to use the airgap to have the distance edge to edge. I have tried with the axlAirGap function but I can't manage to do so.
Indeed, it does not work for symbols and when I try to make pin to pin (I measure the distance between my pin and all the pins of the neighboring component and I take the smallest distance)
it does not work for the pins "mirrored".
In addition, I want to do this measurement on several layers (because my pin is through). I do not understand how to make it work.

Can anyone help me or have a similar code to do that?
Thank's
  • Cancel
  • Sign in to reply
  • DavidJHutchins
    DavidJHutchins over 4 years ago

    axlAirGap can measure between component symbol place_bound shapes...

    Below I started the 'show element' command & selected 2 component place_bound shapes, then issued the following skill commands:

    Skill > s1=car(axlGetSelSet())
    dbid:000000713FDD83F0
    Skill > s2=cadr(axlGetSelSet())
    dbid:000000713FDDC328
    Skill > s1->objType
    "shape"
    Skill > s2->objType
    "shape"
    Skill > Result = axlAirGap( s1 s2 nil 'anyLayer)
    13.49
    Skill > (Result = Result * 0.001)
    0.01349
    Skill >

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • solene D
    solene D over 4 years ago in reply to DavidJHutchins
    Thanks, your lead has helped me a lot.
    • 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