• 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. Utility to output a single symbol from a design

Stats

  • Replies 4
  • Subscribers 159
  • Views 13489
  • Members are here 0
More Content

Utility to output a single symbol from a design

joma
joma over 8 years ago

jm_write_1_symbol_public.zip

Hi, I recently discovered the skill command "axlWritePackageFile( car(axlSelectByName("SYMTYPE" symbol-name))->definition )" which writes a single footprint
from a pcb. The good thing about it is it writes the symbol .dra and.psm files with all associated padstack files. I find this very handy from time to time. The bad thing

is it is a pain to be typing skill commands like this so I have created a user interface form to make things easier. As I have benefited from lots of utilities found in this
forum I thought I would contribute something of my own (however simple).

To load the code type "skill load("jm_write_1_symbol_public.il"). The file shoud be in your skill path.
To run the code type "write one symbol" on the command line.

All feedback welcome.

Load the Skill code using"skill load("RotateSilkAssyRD.il)" - See more at: community.cadence.com/.../17911
Load the Skill code using"skill load("RotateSilkAssyRD.il)" - See more at: community.cadence.com/.../17911
  • Sign in to reply
  • Cancel
Parents
  • joma
    joma over 8 years ago
    Hi Dave,

    Thanks for the feedback and I'm glad you like it.

    In fact the style comes from my inexperience and the the fact that I sometimes have had problems passing multiple returning values from functions to a calling function. I figure I can use one let() command to cover a group of functions and play happily with all of the variables without leaking globals. Probably not good practice but it seems to work. This gives just one warning in sklint but no errors so I was happy to stick with it. I think that as I get to grips with skill I will probably change to a more conventional style.

    The putd statements are just something I copied from another program from the forum assuming that they were useful. They probably are useless so if I create a version 1.1 I will delete them.

    Creating a form from a string is a better method. Do you know where I can read about this?

    Cheers,
    Jim
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Reply
  • joma
    joma over 8 years ago
    Hi Dave,

    Thanks for the feedback and I'm glad you like it.

    In fact the style comes from my inexperience and the the fact that I sometimes have had problems passing multiple returning values from functions to a calling function. I figure I can use one let() command to cover a group of functions and play happily with all of the variables without leaking globals. Probably not good practice but it seems to work. This gives just one warning in sklint but no errors so I was happy to stick with it. I think that as I get to grips with skill I will probably change to a more conventional style.

    The putd statements are just something I copied from another program from the forum assuming that they were useful. They probably are useless so if I create a version 1.1 I will delete them.

    Creating a form from a string is a better method. Do you know where I can read about this?

    Cheers,
    Jim
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Children
No Data
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