• 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. Custom IC SKILL
  3. Instance True BBox value

Stats

  • Locked Locked
  • Replies 4
  • Subscribers 145
  • Views 15399
  • Members are here 0
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

Instance True BBox value

psill000
psill000 over 11 years ago

Just try to keep the script simple.

 

Is there a variable that will give the TrueBBox value of an instance in layiout or will I have to look in the cellview and get the prBoundary bbox??

 

Thanks

  • Cancel
Parents
  • Andrew Beckett
    Andrew Beckett over 11 years ago

    What do you mean by TrueBBox? Are you talking about what the useTrueBBox env var does, which is to show the bounding box as the instance layer (if present) or the actual bounding box otherwise (also the instanceDrawingMode env var has an effect here - you can choose to display using the prBoundary instead of the instance layer).

    The actual bounding box is given by instId~>bBox, but any bounding box based on a particular layer or object would require looking inside the object. If it's the prBoundary you want, that's easy - you could just do:

    inst~>master~>prBoundary~>bBox || inst~>bBox

    (this is for IC61, since prBoundary is a separate object, and so no searching of layers is needed). This expression will give you the box for the prBoundary if it is there, or falls back to the overall bounding box if not.

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • khaim
    khaim over 3 years ago in reply to Andrew Beckett

    transform needs be applied

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • khaim
    khaim over 3 years ago in reply to Andrew Beckett

    transform needs be applied

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Children
  • Andrew Beckett
    Andrew Beckett over 3 years ago in reply to khaim
    khaim said:
    transform needs be applied

    What does this mean? You posted a four word statement onto the end of an eight year old thread. Please read the forum guidelines before posting...

    Andrew

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • khaim
    khaim over 3 years ago in reply to Andrew Beckett

    dbTransformBBox(instID~>master~>prBoundary~>bBox dbGetInstTransform(instID))

    i mean he wants the bbox of the instance, so he should do as above 

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel

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