• 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 to import template default

Stats

  • Replies 2
  • Subscribers 18
  • Views 9357
  • Members are here 0
More Content

Skill to import template default

LoGanathan
LoGanathan over 7 years ago

Hello,

I have a template (abc.dra) by default it has some new layers, text size & colors. While opening any footprint this template need to import automatically. Please help.

Thanks in advance.

  • Cancel
  • Sign in to reply
Parents
  • DavidJHutchins
    DavidJHutchins over 7 years ago

    open your template design file & open File>Export>Parameter..., select all, then export to something like 'default.prm', which you should copy to something like $CDSROOT/share/local/pcb/parameter

    Then in your skill code have something like the following:

    procedure( MyTriggerOpen( t_open)
     let( ()

          axlImportXmlDBRecords("default.prm")
      )
    )
    axlTriggerSet('open 'MyTriggerOpen)

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • LoGanathan
    LoGanathan over 7 years ago in reply to DavidJHutchins

    Thanks for the code. Actually in my template i have text in some layers. That also might need to import by default. I tried the above code, it export/import only the color, layer & text size. Please help. 

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Reply
  • LoGanathan
    LoGanathan over 7 years ago in reply to DavidJHutchins

    Thanks for the code. Actually in my template i have text in some layers. That also might need to import by default. I tried the above code, it export/import only the color, layer & text size. Please help. 

    • 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