• 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. Access skill variable in .scr script

Stats

  • Replies 4
  • Subscribers 19
  • Views 10667
  • Members are here 0
More Content

Access skill variable in .scr script

olov
olov over 6 years ago

Hi,

I'm trying to write a script that will automate the gerber output process. To do this properly I would like to use parameter data (e.g. article numbe for the board) that is stored in a file to control the output files prefix.

When in skill mode I have no problem accessing this information, but now to the problem.

When starting the gerber output I use a .scr file with following content:

setwindow pcb
artwork
setwindow form.film_control
FORM film_control filename_prefix 12345678
FORM film_control select_all
FORM film_control database_check NO
FORM film_control create
FORM film_control cancel

The prefix, e.g. 12345678, I would like to be able to change based on the parameter I can access when in skill mode:

skill Parameters["hq_pcb_article"]

but I cannot fidn a way to transfer this information between these two domains? any ideas?

BR Olov

  • Cancel
  • Sign in to reply
Parents
  • Ejlersen
    Ejlersen over 6 years ago

    Hi

    I would recommend that you stick with SKILL for automation whenever possible. 

    SKILL is more robust across releases than scripting

    Best regards

    Ole

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

    Hi

    I would recommend that you stick with SKILL for automation whenever possible. 

    SKILL is more robust across releases than scripting

    Best regards

    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