• 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 14021
  • 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
  • Andrew Beckett
    Andrew Beckett over 14 years ago

    You could use  leRegUserObjectSelectionFilter to do this. You're not actually going to filter the selection, but this is triggered whenever anything is selected.

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • kbhow
    kbhow over 14 years ago

    If you're using IC613 and above, you may turn-on the info ballon. This is show you a info box when u wave/touch an object. You can even set the contents of the info box.

    Options->Dynamic Display

     -- How

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • menime54
    menime54 over 14 years ago
    Hi Andrew, I was wondering if there is another function like the leRegUserObjectSelectionFilter that is called only when an object is selected, or when new objects are added to a selected set. The function I wrote shows information for the objects when I move my mouse over them using the leRegUserObjectSelectionFilter that you suggested. It works pretty well, but I was hoping to only view object information when an object is selected. Thank you!!
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 14 years ago

    The function gets called because the dynamic highlighting needs to know whether to dynamically highlight the object or not - so whether it is potentially selectable or not - the perils of using something which is intended as a selection filter to do something else.

    There is another function which I'm looking into at the moment, but it's currently private (and hence not documented) - I'm currently checking with R&D whether it can be made public (there was an append in the CCR which suggests that R&D consider it public) and then documented. Which version are you using?

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • menime54
    menime54 over 14 years ago

     I am using version 5.10

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 14 years ago

    I just checked, and the private functions I'm looking at to solve this are also available in IC5141. So let's see if we agree to make the functions public or not - probably will be a few days before I know because of the Christmas and New Year holidays.

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 14 years ago

    We've decided that the private functions I was looking at to implement what you want will remain private. The interface to these functions is quite complex, liable to change, and also has to be used carefully to avoid breaking things - so they are not a good candidate to be made public.

    So unfortunately that means I don't know of a way of doing what you want. Perhaps you should contact customer support for an enhancement to do what you want (if the IC61 features don't give you what you need; IC5141 is too old to have enhancements added).

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • 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

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