• 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. How to get DBID of place_bound_top shape by using DBID of...

Stats

  • State Suggested Answer
  • Replies 2
  • Answers 1
  • Subscribers 18
  • Views 3657
  • Members are here 0
More Content

How to get DBID of place_bound_top shape by using DBID of Symbol

WangL95
WangL95 over 2 years ago

Hi all,

Please help me this.

I have a DBID of a symbol is there any way I can get the DBID of the place bound top of that symbol?

(my purpose is get properties in place bound top shape of that symbols)

Thanks all!

  • Cancel
  • Sign in to reply
  • DavidJHutchins
    0 DavidJHutchins over 2 years ago

    below is an example from some code I wrote:

    (symbol = DBID)

    foreach(child (symbol->children)
    when(equal(child->objType "polygon") || equal(child->objType "shape")
    (ShapeLayer = (child->layer))
    when(or( and(equal(ShapeLayer "PACKAGE GEOMETRY/PLACE_BOUND_TOP") not(symbol->isMirrored))
    and(equal(ShapeLayer "PACKAGE GEOMETRY/PLACE_BOUND_BOTTOM") (symbol->isMirrored)))
    when(child->prop->PACKAGE_HEIGHT_MAX

    )

    )

    )

    )

    However some symbols might have multiple place_bound shapes if they have complex outlines & heights

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • WangL95
    0 WangL95 over 2 years ago in reply to DavidJHutchins

    Thank you for your help!

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