• 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. highlighting bbox

Stats

  • Locked Locked
  • Replies 5
  • Subscribers 143
  • Views 15947
  • 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

highlighting bbox

RAGHU2634
RAGHU2634 over 6 years ago

I have dbid of shape & it's bbox.Is it possible to highlight the shape using bbox  using preferred markNetColor.

Thanks,

Raghu

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

    cv=geGetEditCellView()
    hs=geCreateHilightSet(cv list("y0" "drawing"))  ; pick the layer-purpose-pair you wish to use.
    hs~>enable=t
    geAddHilightFig(hs objId)  ; objId is the dbId of the object you want to highlight.

    • Cancel
    • Vote Up +1 Vote Down
    • Cancel
Reply
  • Andrew Beckett
    Andrew Beckett over 6 years ago

    cv=geGetEditCellView()
    hs=geCreateHilightSet(cv list("y0" "drawing"))  ; pick the layer-purpose-pair you wish to use.
    hs~>enable=t
    geAddHilightFig(hs objId)  ; objId is the dbId of the object you want to highlight.

    • Cancel
    • Vote Up +1 Vote Down
    • Cancel
Children
  • RAGHU2634
    RAGHU2634 over 6 years ago in reply to Andrew Beckett

    HI,

    Thanks Andrew. It is working. Is it possible to add thick highlight ?

    Thanks,

    Raghu

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 6 years ago in reply to RAGHU2634

    You can either use a layer-purpose with a thick line defined (I think - I didn't test recently) or use halos:

    geSetHilightSetHaloParameters(hs "over" "plain" "thin" 20)

    (there's "thick" too but that's pretty thick). See the documentation for info on the controls.

    Andrew.

    • Cancel
    • Vote Up +1 Vote Down
    • Cancel
  • RAGHU2634
    RAGHU2634 over 6 years ago in reply to Andrew Beckett

    I tried to delete/remove this markers using below command but it is not working

    geDeleteHilightSet(hs)

    Thanks,

    Raghu

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 6 years ago in reply to RAGHU2634

    Yes it does (I do this all the time, and I just checked with the code above, and it works perfectly). I suspect you probably created more than one hilight set and so you've overwritten the hs variable with a newer hilight set, and have lost track of the older hilight set - so you can no longer remove it because you don't have a handle to it any more?

    If you do that, you'd just have to close the window and reopen. If you manage it properly though, this wouldn't be an issue.

    Regards,

    Andrew.

    • 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