• 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. Allegro PCB --> Export Placement ????

Stats

  • Replies 12
  • Subscribers 162
  • Views 13813
  • Members are here 0
More Content

Allegro PCB --> Export Placement ????

split63
split63 over 10 years ago

I have a two sided PCB and the goal is to generate two placement files; one for the top, and one for the bottom.

How is this accomplished?

Currently if I run File --> Export --> Placement, it generates one file with the top and bottom components mixed together in one file.  Also the bottom side coordinates appear to be relative to the top origin looking through the board.

Tools --> Reports -->Component report  seems to generate the same mixed result.

  • Sign in to reply
  • Cancel
  • oldmouldy
    oldmouldy over 10 years ago
    The Component Report template is in the installation at share\pcb\text\views\cmp_rep.txt, you will need two copies of this, in copy1 (for the TOP), change the SYM_MIRROR entry to SYM_MIRROR="FALSE", and save this modified template, in copy2 (for the BOTTOM), change the SYM_MIRROR entry to SYM_MIRROR="TRUE", and save this modified template. The default report path will include the current directory, but this might have been changed, assuming the default is still set, save these report templates to the board directory and they will appear at the bottom of the Tools>Reports list for selection. If you want to "mirror" the part locations to be "as viewed from the bottom", you will need to post process the locations, probably just changing the sign for X, or Y, or both, values will get what you need.
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • split63
    split63 over 10 years ago

    I copied the files and made the changes as described.  The two files did show up in the report window.  When I run them, the report file has a header, but no data.

    Here is the contents of the file:

    #
    # Property of Cadence Design Systems, Inc.  All rights reserved.
    #
    # $Header: cmp_rep_view.txt.v 1.1 12/01/87 ddd Prealpha
    #
    # File: cmp_rep_view.txt - Component data extract cmd file for
    #                component list report
    #
    # Revision history:
    #    (0.10) ddd 12/01/87    Preliminary initial version
    #
    #
    COMPONENT
    #
    # Extract: refdes(sort), refdes, device_type, value, tolerance,
    #       package, x, y, angle, mirror.
    #
    REFDES_SORT
    REFDES
    COMP_DEVICE_TYPE
    COMP_VALUE
    COMP_TOL
    COMP_PACKAGE
    SYM_X
    SYM_Y
    SYM_ROTATE
    SYM_MIRROR="TRUE"
    #
    # end of cmp_rep_view
    #

    What does SYM_MIRROR do?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • chads108
    chads108 over 10 years ago

    Try SYM_MIRROR="YES" and SYM_MIRROR="NO" instead.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • split63
    split63 over 10 years ago

    Yes, that did the trick.  Thanks so much

    I have no idea how to do the post processing on the output.   I suppose I could pump into excel and see how much damage I can do.

    I suspect the Contract Manufacturer will want the placement coordinates from the perspective of each side.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • chads108
    chads108 over 10 years ago

    There is a set of extract files we use available from http://www.aiscorp.com/en/index.php/support/cadence-scripts  I don't remember which one of the two downloads we use, but the resulting file is what our manufacturing facility uses for their pick-n-place machines.  Never have to do any post-processing on my end other than run the script.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • 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