• 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. Using Skill to create a Padstack with a Thermal subclass...

Stats

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

Using Skill to create a Padstack with a Thermal subclass that has geometry set to "Flash"

thewill2live
thewill2live over 11 years ago

Hi all,

 Trying to pick up Skill here on my own and I'm having a bit of difficulty trying to get a specific part of my code to work. I am writing a Skill program that will be able to automatically generate a padstack based off of a naming scheme. I have most of it figured out but I cannot get the code to work for instances where I want a plated through hole pad that has a thermal subclass on the default internal layer that has a geometry of "Flash". I am attempting to set it using the ?figure parameter but that only recognizes Circle, Square, Oblong, Rectangle, Null, and Octagon as valid inputs but not Flash (even though Flash is a valid choice in that dropdown menu in the Allegro Padstack Editor. I'm using Allegro 16.6 and I've included the line in question with the section I'm speaking of bolded. Any advice is appreciated.

; This would work, but is not what I need. 

 pad_list = cons(make_axlPadStackPad(?layer "DEFAULT INTERNAL", ?type 'THERMAL, ?flash "Th391x371x92", ?figure 'OCTAGON, ?figureSize 80:80) pad_list)

 

; This won't work, but is what I'm trying to accomplish 

 pad_list = cons(make_axlPadStackPad(?layer "DEFAULT INTERNAL", ?type 'THERMAL, ?flash "Th391x371x92", ?figure 'FLASH, ?figureSize 80:80) pad_list)

 

Thanks,

 

Will 

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

    Don't inclue the ?figure option.

    Try:

    make_axlPadStackPad(?layer "DEFAULT INTERNAL", ?type 'THERMAL, ?flash "Th391x371x92", ?figureSize 80:80)  

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • thewill2live
    thewill2live over 11 years ago

    Thanks Dave,

     I tried that already and leaving out the ?figure option results in it being evaluated as nil and the padstack is made with a "Null" geometry. I actually just figured this out on Friday. Since there is no predefined option for "Flash" I couldn't use ?figure 'FLASH. But since it is really just evaluated as a string,  I found that I could pass in a string and get the desired result. So I did: 

    make_axlPadStackPad(?layer "DEFAULT INTERNAL", ?type 'THERMAL, ?flash "Th391x371x92", ?figure "FLASH", ?figureSize 391:391) pad_list 

    And that solved my problem. 

     

    • 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