• 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. create symbol with skill

Stats

  • Replies 9
  • Subscribers 162
  • Views 16973
  • Members are here 0
More Content

create symbol with skill

Ejlersen
Ejlersen over 14 years ago

Hi

I have a text file with coordinates for a number of shape symbols that I need to create. My problem is how I inside skill can create a new .dra file and then draw the shape and save the .dra/ssm file.

I've look at numerous axl functions without getting something to work - does anyone have an idea?

I could probably create scripts to generate new shape symbols and save them using scripts, but I would rather avoid using scripts. 

Best regards

Ole

  • Sign in to reply
  • Cancel
  • Ejlersen
    Ejlersen over 14 years ago

    Hi Dave

    Thats weird, since the code does contain "axlSaveDesign(?noMru t)" so that should be fine, but only the .dra file is saved, no ssm.

    Maybe its because I only run the defun and not the complete skill program?

    Best regards

    Ole

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Yann00
    Yann00 over 12 years ago

    hi Dave and Ejlersen,

    Did you solve your problem?

    Because I want to create file.osm associated to my .dra file. And axlSaveDesign does only create my .dra file.

    Have you got any solution for that? Thanks

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • djhutchi
    djhutchi over 12 years ago
    Try using axlCompileSymbol

    axlCompileSymbol(

        [?symbol t_name]

        [?type t_type]

        [?silent t/nil]

        [?silentOnOverwrite t/nil]

    )
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Yann00
    Yann00 over 12 years ago

    Thanks a lot, it works.

    Just an information: You have to do that after axlSaveDesign of your file.dra

    Otherwise it does not compile the symbol.osm

    • 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