• 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. SKILL API dbCreateTextDisplay()

Stats

  • Locked Locked
  • Replies 6
  • Subscribers 143
  • Views 10736
  • 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

SKILL API dbCreateTextDisplay()

AkshayMD
AkshayMD over 3 years ago

What are d_associateId and d_ownerId in the SKILL function dbCreateTextDisplay()?

Can anyone give  examples for these two?

  • Cancel
Parents
  • Andrew Beckett
    Andrew Beckett over 3 years ago

    The associate is the object that you are displaying a property/attribute of - i.e. the linked object to show information about in the label. The owner is the object to which the text display is attached (i.e the textDisplay's parent is this object). Having a parent-child relationship means that if the owner is moved, the textDisplay moves with it.

    Does that help?

    Andrew

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • AkshayMD
    AkshayMD over 3 years ago in reply to Andrew Beckett

    Hey Andrew, Thanks for the quick reply. 

    Here the object is any instance like a pcell?

    Is there a way in which I can display a user given text in the layout editor at a specified location using some metal layer or base layers like OD POLY etc?

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 3 years ago in reply to AkshayMD

    The associated object is an instance, or a net, or a terminal - something in the database with an attribute you want to display - so for example you want to display the name of an instance or net - and if that instance name changes, the "label" will display automatically. You can display it on a given layer as you wish.

    If you want to display arbitrary text, use dbCreateLabel instead. In that case you specify the text to display as an argument to the function.

    Andrew

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • AkshayMD
    AkshayMD over 3 years ago in reply to Andrew Beckett

    I tried with dbCreateLabel, this will display the text with a '+' sign in the beginning. I wanted to get rid of that because I am trying to display say some 4 letters in a metal layer and without any space the next 4 letters in some other metal layer and so on but the '+' sign in between every word would look a disturbance for the viewer. 

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 3 years ago in reply to AkshayMD

    That's simply because you have Label Origins turned on in the Options->Display. The + will be drawn for both labels and textDisplays if this is turned on - and it's so you can locate where the origin of the labels are.

    hiGetCurrentWindow()->textJustificationOn=nil

    will turn those off for the current window.

    envSetVal("layout" "textJustificationOn" 'boolean nil)

    will (usually) change the default.

    Andrew

    • Cancel
    • Vote Up +1 Vote Down
    • Cancel
  • AkshayMD
    AkshayMD over 3 years ago in reply to Andrew Beckett

    Thanks So much Andrew!..

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • AkshayMD
    AkshayMD over 3 years ago in reply to Andrew Beckett

    Thanks So much Andrew!..

    • 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