• 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. How to display on screen text prompts?

Stats

  • Locked Locked
  • Replies 4
  • Subscribers 144
  • Views 14506
  • 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

How to display on screen text prompts?

girig
girig over 11 years ago

Hi,

 Similar to the on-screen prompts that Toolbox commands display on the graphical layout window, is there a way to display custom text through skill? One could use labels, but then is there a way to get rid of the + (plus) sign displayed on a label text? 

 Thanks,

Giri. 

  • Cancel
  • Andrew Beckett
    Andrew Beckett over 11 years ago

    Hi Giri,

    You could use "hilight sets". For example:

    hs=geCreateHilightSet(geGetEditCellView() list("y1" "drawing"))
    geAddHilightLabel(hs 13:4 "Big Label" "centerCenter" "R0" "stick" 1.0 t)
    hs->enable=t

    You could also set the prompt in the window by doing:

    hiSetWindowDefaultPrompt(hiGetCurrentWindow() "My prompt>")

    Drawing actual labels would be a bit odd, but you can control the drawing of the label origin simply by doing:

    hiGetCurrentWindow()->textJustificationOn=nil

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • girig
    girig over 11 years ago

    Hi Andrew,

     Perfect. Many thanks !! 

    Thank you,

    Giri. 

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • psill000
    psill000 over 11 years ago

    Sorry if this is off topic, just trying understand hilight set objects and minize trial and error.

    Are the objects valid objects in the cellview?

    Does the cell have to be open in edit to create the hilight set?

    The only way to delete the objects is with geDeleteHilightSet?

    Where can I read more about hilight sets?

    I was looking to create a object similar to ruler:
       Can be drawn in read mode
       Not saved to cellview
       Easily view to mark a position
       Without the numbers associated the ruler

    Thanks
    Paul

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

    Hi Paul,

    Hilight objects are not in the cellview database, think of them as an overlay on a cellview where the highlights can be related to cellview data or can be stand-alone highlights.  The cellview can be open in read-only mode, and in some of my testing it was quicker to create highlights than an equivalent db object (e.g. geAddHilightLabel vs. dbCreateLabel).  You can 'turn off' hilights, in other words, you don't necessarily have to delete them. The visibility of the whole hilight set can be toggled on and off, and if memory serves individual object also.  The hilight set can go away when the cellview is closed - it cannot be saved (a global hilight set can be persistent I believe).  Take a look at Solution Article 11230016 for a code example, and this documentation for an overview. It sounds like hilight sets meet your criteria.

    Hope this helps!

    Lawrence.

    • 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