• 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. Need Help with Code to find Package to Place Keepout DRC...

Stats

  • Replies 3
  • Subscribers 18
  • Views 220
  • Members are here 0
More Content

Need Help with Code to find Package to Place Keepout DRC's

MarkGorecki
MarkGorecki 14 days ago

Hello,

I'm using Cadence APD 24.1 and have written a Skill program that will create custom keepout areas on "Component Keepout/Top".

Cadence does not consider these to be active DRC's so the bowties do not automatically show up when an SMD component crosses the component keepout shape edge.

I can use:  Tools > DRC Browser > DRC(4) > Design(2) > Package > Package to place keepout  which will list the errors and give the coordinates.  If I pick the coordinate, it will center the DRC in the design and then show a bowtie.

Is there a way to do this action using Skill code?  I could have a pop-up mesage that tells the designer how to do this, but I think it would be better if the code was able to do this.

Any help would be greatly appreciated.

Best regards,

Mark

  • Sign in to reply
  • Cancel
Parents
  • DavidJHutchins
    DavidJHutchins 13 days ago

    I am running Cadence Allegro 23.1 & do not see any issues with getting DRC's on newly added keepout shapes on "Package Keepout/Top"

    Can you try running your code on an previous release?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • MarkGorecki
    MarkGorecki 13 days ago in reply to DavidJHutchins

    Since I posted this, I learned that if you turned on the NON-CONDUCTOR/PACKAGE_TOP layer, you would see the bowties.  So now I'm updating the code to check if that layer is currently visible, and if not, to make it visible.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Reply
  • MarkGorecki
    MarkGorecki 13 days ago in reply to DavidJHutchins

    Since I posted this, I learned that if you turned on the NON-CONDUCTOR/PACKAGE_TOP layer, you would see the bowties.  So now I'm updating the code to check if that layer is currently visible, and if not, to make it visible.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Children
  • DavidJHutchins
    DavidJHutchins 13 days ago in reply to MarkGorecki

    Below is an example that should work in both Allegro and APD:

    (axlVisibleLayer strcat(axlMapClassName("PACKAGE") "KEEPOUT/TOP") t)

    • 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