• 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. displaying properties when mouse pointer is pointed on ...

Stats

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

displaying properties when mouse pointer is pointed on fig

ramya
ramya over 16 years ago

Hi,

When a mouse pointer is on some instance  or metal layer, the instance name or layer name has to displayed in a window or in dialogue box.

 

can anyone suggest some ideas for this?

  • Cancel
Parents
  • skillUser
    skillUser over 16 years ago

     Hi Ramya,

    css() is shorthand for car of selected set . I don't think that it is documented, so it would actually be better to use something like the following in your code:

        car(geGetSelectedSet())

    For interactive things in the CIW css() is probably fine, but I would use the longer form above in any code stored in files. If you run the above longer form through the SKILL Lint checker it will achieve a good score, or at least it will not reduce your score. However, since css() is not documented (probably, I haven't checked recently), it will reduce your overall score.  You want to aim to reach 100 or be as close as you can for the Lint score.

     For the second  question, here you cannot use css() or geGetSelectedSet() as they refer to the set of objects that are selected. You will want something that takes an input point and gives you the shapes underneath. Let me look into that and get back, it is likely that you will want to use dbGetOverlaps() or dbGetTrueOverlaps() but these are a little more complex.

    Regards,

    Lawrence.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • skillUser
    skillUser over 16 years ago

     Hi Ramya,

    css() is shorthand for car of selected set . I don't think that it is documented, so it would actually be better to use something like the following in your code:

        car(geGetSelectedSet())

    For interactive things in the CIW css() is probably fine, but I would use the longer form above in any code stored in files. If you run the above longer form through the SKILL Lint checker it will achieve a good score, or at least it will not reduce your score. However, since css() is not documented (probably, I haven't checked recently), it will reduce your overall score.  You want to aim to reach 100 or be as close as you can for the Lint score.

     For the second  question, here you cannot use css() or geGetSelectedSet() as they refer to the set of objects that are selected. You will want something that takes an input point and gives you the shapes underneath. Let me look into that and get back, it is likely that you will want to use dbGetOverlaps() or dbGetTrueOverlaps() but these are a little more complex.

    Regards,

    Lawrence.

    • 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