• 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. help:use axlAirGap() in text

Stats

  • Replies 2
  • Subscribers 159
  • Views 748
  • Members are here 0
More Content

help:use axlAirGap() in text

tingletingle
tingletingle over 15 years ago

    car(last(axlAirGap(each_solder each_silk axlConductorTopLayer())))

I want to get air gap between soldermask element and silkscreen element, but it always returns nil when silk element is text.

whether the axlAirGap() can check text or not?

Allgro version:15.7

OS:Windows XP SP2

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

    You will find that, even if you could measure between soldermask and text, it won't be very useful as the measure for text is done from the text's bounding box. It is quite painful to do a "correct" and useful measure. See my autosilkUtils code (it's in the Skill repository on SourceLink) to see how I have done it. Basically I create a set of temporary shapes, tracing the font of the text, and measure to those shapes from the soldermask pad.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • tingletingle
    tingletingle over 15 years ago

    I think it is useful.

    I also think about this idea first, but I am afraid to damage design file if some errors in running this command.

    However, I will try it again, thank you Dave.

    • 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