• 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. skill program to create shape symbol

Stats

  • Replies 11
  • Subscribers 164
  • Views 19410
  • Members are here 0
More Content

skill program to create shape symbol

Ejlersen
Ejlersen over 15 years ago

Hi

Attached, find a small utility to help creating rectangular shapes with rounded corners for shape symbols to be used inside a pad

Usage: File, New, Shape symbol

Run the program "ns_spad"

Add width(x), height(y) and a radius in the dialog shown

Hit run to create the shape.

Have fun :-)

Ole

ns_spad.zip
  • Sign in to reply
  • Cancel
Parents
  • Ejlersen
    Ejlersen over 15 years ago

    Hi SkillBill

    I'm not sitting in front of PCB Editor at the moment, but when I have difficulties with skill writing script files I normally do the following

    1. Record a new script where I do whatever I want to do.

    2. Carefully check that all my fprintf lines are correct - it only takes a very small spelling or syntax error to fail. Sometimes I even redo the script write commands in my skill program.

    3. Comment out the line "if( isFile( "tmp.scr") then deleteFile("tmp.scr"))" because then I can try running the script "tmp.scr" manually or do a file compare with my previously recorded script.

    4.  Remove +i +n +w +c from the line "fprintf(tmp_file "scriptmode +i +n +w +c\n")" since that may give better warnings as to what the issue could be.

    Hope this helps

    Ole

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Reply
  • Ejlersen
    Ejlersen over 15 years ago

    Hi SkillBill

    I'm not sitting in front of PCB Editor at the moment, but when I have difficulties with skill writing script files I normally do the following

    1. Record a new script where I do whatever I want to do.

    2. Carefully check that all my fprintf lines are correct - it only takes a very small spelling or syntax error to fail. Sometimes I even redo the script write commands in my skill program.

    3. Comment out the line "if( isFile( "tmp.scr") then deleteFile("tmp.scr"))" because then I can try running the script "tmp.scr" manually or do a file compare with my previously recorded script.

    4.  Remove +i +n +w +c from the line "fprintf(tmp_file "scriptmode +i +n +w +c\n")" since that may give better warnings as to what the issue could be.

    Hope this helps

    Ole

    • 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