• 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. Changing spacing constraints when opening Allegro

Stats

  • Replies 23
  • Subscribers 159
  • Views 20997
  • Members are here 0
More Content

Changing spacing constraints when opening Allegro

Mstrghettorigg
Mstrghettorigg over 12 years ago

Hi All,

 I was wondering if anyone can guide me in the right direction.

I'm trying to make it so I can set the bottom SMD pin to TH distance when allegro starts up.  This will need to be done to all files being opened.

I'm not familiar with writing skills, but I was wondering if anyone has ran into similar Skill file or at least guide me in the right direction.

I looked through some forum and it looks like I can use axlCmdRegister and axlTriggerSet commands to run the skill automatically once I have the skill file create.

I think this command is where I need to get started from, but I don't think it's that simple. 

axlCNSSetSpacing("" TOP 'Thru Pin_SMD Pin .050 INCH) 

Any help will be appreciated.

Thanks! 

  • Sign in to reply
  • Cancel
  • eDave
    eDave over 12 years ago
    The Skill Language User Guide is a good start (...doc\sklanguser\sklanguser.pdf)
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • fxffxf
    fxffxf over 12 years ago

    You should read the APLICATIION NOTES section of axlTriggerSet. With your example, you are ignoring the recommendation to block your form. To enable a blocking form change the following create form line to:

       myform=axlFormCreate( (gensym) form_file nil 'Form_Action nil)

    and add after axlFormDisplay(myform) a call to:

        axlUIWBlock(myform)

    You may also want to reconsider your use model. A more flexible model would either start a new design from a template board or have a techfile loaded on a new design start. If you worry about accidental changes to the rules, you can either lock the constraints via the techfile or make doing a techfile compare (board to a master techfile file) part of your design release process.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Mstrghettorigg
    Mstrghettorigg over 12 years ago

    Hi fxffxf,

    Thank you for your input.  I will take a look at the document and try out the suggestions.

    Our intention is to use it on new design and also on an old designs that will need to impliment these spacing constraints on new revisions.  The spacing was suggested fairly recently so all of our previous design will need to be changed if it's possible to change it.

    It's still something I am just looking into and any input will be appreciated. 

    • 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