• 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. Get Coordinates of highlights

Stats

  • Replies 3
  • Subscribers 145
  • Views 179
  • Members are here 0

Get Coordinates of highlights

RK56
RK56 3 days ago

Hi,

My DRC tool creates highlights in the layout window. I believe they are created using highlight sets. Is it possible to read the coordinates of the highlight sets in a layout window? I dont know the highlight setID as they are created by some 3rd part tool. My plan is to retrieve coordinates from the highlight shapes and then provide them to leComputeDensity so that I can easily measure the densities post fix and before a DRC run.

Thanks

Ram

  • Cancel
  • Sign in to reply
Parents
  • Aurel B
    Aurel B 1 day ago

    This is a shot in the dark, but have you tried geGetCurrentHilightSet or geGetCurrentWindowHilightSet ?

    You can probably combine them with gePopHilightStack or gePopWindowHilightStack to get the highlight set you want.

    (I am not familiar with those functions but they seem capable of doing what you are looking for.)

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Andrew Beckett
    Andrew Beckett 1 day ago in reply to Aurel B

    I didn't see the original post until Aurel's reply. 

    Unfortunately geGetCurrentHilightSet (and the window equivalent) only work if:

    1. The hilight set was created with the notGlobal argument set to t, and
    2. It was pushed on to the stack with gePushHilightStack (this is needed for it to be come visible)

    In my experience, hilight sets are usually created as global (I've never used the push/pop APIs) and so these won't help you. The DRC tool might store the hilight set object somewhere (for example, I usually store it as a window property to make it easy to retrieve and to allow different hilight sets in different windows without needing some other storage mechanism). So maybe it is there?

    The best thing would be to ask whoever created the DRC tool for a means of retrieving it.

    Andrew

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • RK56
    RK56 1 day ago in reply to Andrew Beckett

    Thank you Aurel and Andrew for your inputs. I could not get it work with the above functions. Maybe it is a case as Andrew mentioned.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Reply
  • RK56
    RK56 1 day ago in reply to Andrew Beckett

    Thank you Aurel and Andrew for your inputs. I could not get it work with the above functions. Maybe it is a case as Andrew mentioned.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • 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