• 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. SKILL code : Get figure of pad ?

Stats

  • State Verified Answer
  • Replies 2
  • Subscribers 19
  • Views 5493
  • Members are here 0
More Content

SKILL code : Get figure of pad ?

Misao
Misao over 3 years ago

Hi everyone,

What is the SKILL code to get the figure of pad?

I need to know if the figure of the pad is circle, square, rectangle...

Thanks for your help,

Misao

  • Cancel
  • Sign in to reply
Parents
  • DavidJHutchins
    +1 DavidJHutchins over 3 years ago

    Below is some peusdo-code that shows what you need to do:

    foreach( padstack axlDBGetDesign()->padstacks

      (layer=sprintf(nil "%s/%s" Class SubClass))
      (pad = axlDBGetPad(padstack layer "regular"))
      if( (pad && pad->figureName != "NULL") then  

          (pad_shape = pad->figureName)

      )

    )

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • Reject Answer
    • Cancel
Reply
  • DavidJHutchins
    +1 DavidJHutchins over 3 years ago

    Below is some peusdo-code that shows what you need to do:

    foreach( padstack axlDBGetDesign()->padstacks

      (layer=sprintf(nil "%s/%s" Class SubClass))
      (pad = axlDBGetPad(padstack layer "regular"))
      if( (pad && pad->figureName != "NULL") then  

          (pad_shape = pad->figureName)

      )

    )

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • Reject Answer
    • Cancel
Children
  • Misao
    0 Misao over 3 years ago in reply to DavidJHutchins

    It's perfect !

    thanks for your help !

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • 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