• 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. PCB Design
  3. How to include a custom report file like Comp_Place.txt...

Stats

  • Locked Locked
  • Replies 4
  • Subscribers 165
  • Views 13913
  • Members are here 0
More Content
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

How to include a custom report file like Comp_Place.txt in the Allegro Report menu

TiBo
TiBo over 9 years ago

Hi,

I am looking for the way to include my custom report file in the Report menu. 

Thanks,

Regards,

TiBo

  • Cancel
  • oldmouldy
    oldmouldy over 9 years ago

    You need to use SKILL to generate and the axlReportRegister function within it to add the report to the menu, the SKILL routine will need to be loaded when PCB Editor starts, this is usually done through the allegro.ilinit file.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • TiBo
    TiBo over 9 years ago

    Thanks Oldmouldy,

    Do you know if there is a skill code out there for this? 

    If not, could someone help?.

    Regards,

    TiBo

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Kirti Sikri
    Kirti Sikri over 9 years ago

    Hello,

    Example of registering your own report is given in Allegro Skill document.

    Example From the document is given below. Is that what you were looking for?

    The following registers the report My Hello. The optional keyword in MyReport lets a direct
    call to MyReport generate a report to a fixed name file, helloWorld.rpt. otherwise it takes
    the name from the report dialog box.

    axlReportRegister('MyReport, "XYZ Inc. Hello" "Hello World")
    ; optional keyword allows a you to call MyReport with a nil where
    ; the report file generated will be helloWorld.rpt. Otherwise if
    ; called from report dialog, it will be passed a temporary filename
    procedure( MyReport(@optional (reportName "helloWorld"))
    let( (fp)
         fp = axlDMOpenFile("ALLEGRO_REPORT" reportName "w")
         axlLogHeader(fp "This is my report")
        fprintf(fp, "\nHello World\n")
        close(fp)
        t
    ))
    Unregister above report:
    axlReportRegister('MyReport, nil nil)

    Thanks,

    Kirti

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • TiBo
    TiBo over 9 years ago
    Thank again Kirti.
    • Cancel
    • Vote Up 0 Vote Down
    • 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