• 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. Allegro reports - Component Heights

Stats

  • Locked Locked
  • Replies 3
  • Subscribers 165
  • Views 5850
  • 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

Allegro reports - Component Heights

HWDesigner
HWDesigner over 14 years ago

I'm having some trouble with creating a custom report in allegro. The Tools-Reports-New/Edit dialog box is very confusing to me.

I'm trying to create a simple report to show the heights of each component (top and bottom). I use this data for the side view on the assembly drawing. The heights are saved as a shape outline on class PACKAGE GEOMETRY subclass PLACE_BOUND_TOP.

A show element on the shape gives me: PACKAGE_HEIGHT_MAX  = 500 MIL (as an example)

How can I get this information on every part on the board in a simple report?

  • Cancel
  • djhutchi
    djhutchi over 14 years ago

    Try this as a starting point:

    GEOMETRY

    CLASS = PACKAGE GEOMETRY

    SUBCLASS = 'PLACE_BOUND_TOP'

    SYM_TYPE = PACKAGE

            OR

    CLASS = PACKAGE GEOMETRY

    SUBCLASS = 'PLACE_BOUND_BOTTOM'

    SYM_TYPE = PACKAGE

      SYM_NAME

      COMP_DEVICE_TYPE

      REFDES

      SUBCLASS

      COMP_PART_NUMBER

      COMP_HEIGHT

      PACKAGE_HEIGHT_MAX

      PACKAGE_HEIGHT_MIN

      IDF_OWNER

    END

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • HWDesigner
    HWDesigner over 14 years ago

    Thanks for the quick response. Did you create this code manually? I was trying to create a report from the allegro form through Tools->Reports->New/Edit and all the options and tabs were very confusing to me. But it looks like you created your own code.

    I have a programming background and wanted to understand the code for myself. I understand everything from Line 9 and below (SYM_NAME). Before that I don't understand. I see an OR statement but no curly braces as in traditional programming grouping the statement.

    Is there some sort of tutorial or examples on how to program reports? Or is this skill programming?

    Also when running this code I receive multiple entries for a single part. For example, I'd see R100 4 consecutive times (with exact information). I think it's how the shape is created in the library because when I show element on the shape there are multiple XY locations.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • djhutchi
    djhutchi over 14 years ago
    Most of the Allegro ‘reports’ are based on using Allegro’s ‘extract’ functionality to get the data from the board file, the Cadence supplied Extract view files are located in %cdsroot%\share\pcb\text\views

    Basically searched that directory folder for files containing  PLACE_BOUND, then used the contents of nidf3_vw4.txt as the base for what I sent you…
    • 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