• 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 19406
  • 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
  • Ejlersen
    Ejlersen over 15 years ago

    Hi

    Turns out I could do a remote session and get access to PCB Editor.

    In Release 16.3 the syntax is

    setwindow pcb
    trapsize 205
    etchedit
    dlib
    setwindow form.dlib
    FORM dlib mechanical NO
    FORM dlib package NO
    FORM dlib format NO
    FORM dlib shape NO
    FORM dlib device NO
    FORM dlib pad NO
    FORM dlib pad YES
    FORM dlib nodepend YES
    FORM dlib execute 
    FORM dlib cancel 
    setwindow pcb
    etchedit

    Best regards

    Ole

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

    Hi Ejlersen

    I want to thank you very much.

    You have shown me a way to aquire very important information regarding forms inside allegro.

    I am really grateful. This is huge for me.

     

    Many many thanks. Have a nice day Ejlersen.

    PS. One more thing. I dont know what "trapsize 205" does ?

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

    Hi

    Thanks for the kind words. I usually just cut out the trapsize part of my scripts, the online helps says the following about trapsize.

    In Allegro-generated scripts, the tool automatically adds a "trapsize <value>" at the start of a script, after every change in zoom factor, and when opening new databases. If you generate scripts manually, place a "trapsize 0" at the start of a script to ensure that it replays independently of a design's zoom level.

    The value, in design units, describes the trap box size where to find objects when an object pick is encountered in a script. A value of 0 requires a pick on an object.

    Best regards

    Ole

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Black Pearl
    Black Pearl over 13 years ago
    Hi All, I created the shape symbol name is shape_1 for one of the symbol pad and I created another shape symbol for another symbol. When I import the 2nd shape symbol pad, the 1st one is imported. Can anyone suggest me how to import the correct one. Regards, Black Pearl
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • AmyZhang
    AmyZhang over 12 years ago

    hi,Ejlersen,

    the ns_spad skill is useful,but can  it add to the menu by modify the allegro.men?

    when open the .brd file,it display in the pull-down menu  which i added,but it disable because "program only runs on shape symbols",

    but when i make a new  shape symbol file, the menu that  i added  disappear. i shoud imput "ns_spad" in command line.

      Is there a way to add the skill to the menu?

    sorry for my poor English.

    Thanks!

    • 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