• 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 a script in skill then replay the script - not w...

Stats

  • Replies 7
  • Subscribers 160
  • Views 3651
  • Members are here 0
More Content

create a script in skill then replay the script - not working

Pieman
Pieman over 15 years ago

I am creating a script in skill then trying to replay that script.

My debug tells me that it "Can't find window; form.film_control" or some other thing.

 The script is created just fine, but the skill program will not find windows to fillin the forms.

 Yet, if I manually replay the script from the Allegro command line it runs just fine.

 Has anyone tried to do this and had success?

Thanks for any help.

Marvin.

Here is my code:

               (setq    PORT (outfile "INCHES_PARAM.scr" "w"))
                (fprintf PORT "# Allegro script\n")
                (fprintf PORT "scriptmode +invisible\n")
                (fprintf PORT "scriptmode +continue\n")
                (fprintf PORT "scriptmode +noerror\n")
                (fprintf PORT "scriptmode +noinfo\n")
                (fprintf PORT "scriptmode +beep\n")

            (fprintf PORT "setwindow pcb\n")
            (fprintf PORT "etchedit\n")
             (fprintf PORT "artwork\n")
            (fprintf PORT "film param \n")
            (fprintf PORT "setwindow form.film_control\n")
            (fprintf PORT "FORM film_control General_Parameters\n")
            (fprintf PORT "FORM film_control gerber_rs274x YES\n")
            (fprintf PORT "FORM film_control units_english YES\n")
            (fprintf PORT "FORM film_control error_abort_all YES\n")
            (fprintf PORT "FORM film_control error_abort_film YES\n")
            (fprintf PORT "FORM film_control format_int_places 2\n")
            (fprintf PORT "FORM film_control format_dec_places 5\n")
            (fprintf PORT "FORM film_control suppress_lead_zeroes NO\n")
            (fprintf PORT "FORM film_control suppress_lead_zeroes YES\n")
            (fprintf PORT "FORM film_control suppress_equals NO\n")
            (fprintf PORT "FORM film_control suppress_equals YES\n")
            (fprintf PORT "FORM film_control film_max_x 40\n")
            (fprintf PORT "FORM film_control film_max_y 60\n")
            (fprintf PORT "FORM film_control ok\n")
            (fprintf PORT "setwindow pcb\n")
            (fprintf PORT "etchedit\n")
            (close PORT)
             (axlShell "replay INCHES_PARAM.scr")
 

  • Sign in to reply
  • Cancel
Parents
  • BingSun
    BingSun over 14 years ago

     It is worked following the suggestion of eDave

    thanks eDave

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Reply
  • BingSun
    BingSun over 14 years ago

     It is worked following the suggestion of eDave

    thanks eDave

    • 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