• 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. Can I save a Quick Report to file using SKILL?

Stats

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

Can I save a Quick Report to file using SKILL?

EvanShultz
EvanShultz over 4 years ago

I would like to save the Slot Hole Report to a file using SKILL, but I believe this issue affects any report or other situation where SKILL is being used to manually automate some task that requires text entry. I seem to run into issues when trying to automate the filling in of textboxes in the dialog.

Using the 'scriptmode +e' command I tried capturing the commands executed when generating this report manually, and I also tried using a script. I then tried both methods using axlShell() calls.

For the first method, I can display the report easily but then get stuck on a command like "fillin "<file name>.htm"", where "<file name> is the desired output file. It appears that axlShell() doesn't know a new window was spawned and the file selection dialog should have focus and receive the file name text. Or, perhaps, axlShell() simply can't handle the "fillin" command.

Similarly, when replaying the script using axlShell() I run into a similar problem executing "fillin "slot_hole_report.scr"" where the name of the script to be run is filled into the Script dialog. I can successfully run the script manually, so the script works and can fill in the text box, but I'm not able to automate the script execution.

Lastly, perhaps some context would help. I have written SKILL procedures to automate the generation of output files from the board design. However, slot holes are sometimes a problem for the PCB vendor to recognize and this report is useful for them to understand what I'm asking for easily. Therefore, I'm trying to generate this report within my SKILL code to include with the board fabrication package that will be sent to the board vendor. I'm sure there are other ways to accomplish this, but using the built-in Allegro quick report seemed easy so I started there.

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

    Could you use the external report generator to get the slot report using the following skill commands?

    (Logfile = "slt_rep.rpt")
    sprintf(CmdLine "report -$ -v slt %%s %s" LogFile)
    axlRunBatchDBProgram("report" CmdLine)

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
  • EvanShultz
    EvanShultz over 4 years ago in reply to DavidJHutchins

    This works well. There is a minor typo above of the variable logfile/LogFile, but the concept is clear. Thank you!

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Reply
  • EvanShultz
    EvanShultz over 4 years ago in reply to DavidJHutchins

    This works well. There is a minor typo above of the variable logfile/LogFile, but the concept is clear. Thank you!

    • 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