• 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. question about geAddHilightRectangle

Stats

  • Locked Locked
  • Replies 7
  • Subscribers 142
  • Views 14525
  • 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

question about geAddHilightRectangle

mctang
mctang over 9 years ago

Hi All,

I would like to use "geAddHilightRectangle" to create a rectangle in Virtuoso based on the criteria. I need 10 different colors for highlight layer.

How do I know how many highlight layers are defined and supported by Virtuso techfile ? Is there any document for it ?

Thanks,

ManChak 

  • Cancel
  • mctang
    mctang over 9 years ago

    Hi All,

    I added more comment to clarify my question.

    The user manual has the following example. My question is "layer" and "purpose1" needed to be defined by techfile writer, or are there Virtuo so system layers for highlight layers ? I need 10 different colored layers. 

    geCreateHilightSet( cell3 list("layer1" "purpose1") nil )

    Creates a highlight set in cell3 on layer1 with purpose1 and adds the set to the global list.

    Thanks,

    ManChak

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • skillUser
    skillUser over 9 years ago

    Hi ManChak,

    You can use the system layers "y0"-"y9" on purpose "drawing" for this sort of thing:

    hlSet = geCreateHilightSet(geGetEditCellView() list("y0" "drawing") nil)
    hlSet->enable = t
    geAddHilightRectangle(hlSet list(0:0 0.5:0.5))
    

    You can also use geSetHilightSetHaloParameters() to make the hilight into a halo.

    Hopefully this helps!

    Lawrence.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • mctang
    mctang over 9 years ago

    Hi Lawrence,

    Thank you for your info.

    I will try it.

    Thanks,

    ManChak

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • mctang
    mctang over 9 years ago

    Hi  Lawrence,

    What is the purpose of "hlSet->enable = t" ? Is there any document which provides detailed information about highlight set ID ?

    You command works, but I am just curious about properties of hlSet database ID.

    hlSet = geCreateHilightSet(geGetEditCellView() list("y0" "drawing") nil)
    hlSet->enable = t

    Thanks,

    ManChak

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • skillUser
    skillUser over 9 years ago
    If you don't 'enable' the highlight set then you won't see the highlight shapes. This is also a useful way to turn on or off the whole set of annotations. Have you tried looking at the documentation for the ge.*Hilight commands, I would think most things are covered there (I have not looked recently though) ? Cheers, Lawrence.
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 9 years ago

    Lawrence is right (of course). The information about which (public) attributes of the highlight set object are available are covered in the documentation. It's in the <ICinstDir>/doc/skdfref/skdfref.pdf file, or you could use Help in Virtuoso (or run cdnshelp) and search for geCreateHilightSet and then move back to the beginning of the section on highlight-related functions.

    We don't fully document all the slots available on the object to allow us freedom to change the implementation - however, the enable attribute is clearly documented and expected that you'll use this to enable the display of the highlight set once you've added everything you need to the set.

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • mctang
    mctang over 9 years ago

    Hi Andrew and  Lawrence,

    Thank you fro your help.

    ManChak

    • 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