• 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. Object selected banner message

Stats

  • Locked Locked
  • Replies 8
  • Subscribers 144
  • Views 14022
  • 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

Object selected banner message

menime54
menime54 over 14 years ago

When an object is selected in my layout, I would like to have a banner on my window showing what object is selected.  I can not figure out how to tell my function that an object is selected.  Is there some sort of a trigger function that says that an object is selected, so that I can use it to call my function that puts the banner of the selected object on my window?

  • Cancel
Parents
  • RonSill
    RonSill over 14 years ago

    I just joined the forums and ran acros this post. Back when I was using release 5.x I wrote a program that did exactly this. I utilized the function hiChangeBannerLabel() to add labels to the banner. The program I wrote gathered information about what was selected and then passed this info on to the hiChangeBannerLabel fucntion. To make this automagic I changed any of my bindkeys that had anything to do with selecting or unselecting and incorporated my new code into those bind key definitions so the banner was updated everytime a selection or deselection was made. It worked great! I had different items reported depending on what was selected. If an instance was selected I display cell name, lib name, view name, etc. If a polygon was selected I displayed the layer and total area. A path listed layer and width. A pmos/nmos I also display w and l. Then on multiple selections I gave totals, like 15 instances, 2 paths, etc. Now that I am in version 6.x I need to re-write as things are different, like the banner labels I can display are now only on the bottom of the window, etc. But I do miss this so I will re-write it soon.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • RonSill
    RonSill over 14 years ago

    I just joined the forums and ran acros this post. Back when I was using release 5.x I wrote a program that did exactly this. I utilized the function hiChangeBannerLabel() to add labels to the banner. The program I wrote gathered information about what was selected and then passed this info on to the hiChangeBannerLabel fucntion. To make this automagic I changed any of my bindkeys that had anything to do with selecting or unselecting and incorporated my new code into those bind key definitions so the banner was updated everytime a selection or deselection was made. It worked great! I had different items reported depending on what was selected. If an instance was selected I display cell name, lib name, view name, etc. If a polygon was selected I displayed the layer and total area. A path listed layer and width. A pmos/nmos I also display w and l. Then on multiple selections I gave totals, like 15 instances, 2 paths, etc. Now that I am in version 6.x I need to re-write as things are different, like the banner labels I can display are now only on the bottom of the window, etc. But I do miss this so I will re-write it soon.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Children
No Data

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