• 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. text_add_ring_layout_skill

Stats

  • Locked Locked
  • Replies 16
  • Subscribers 144
  • Views 16941
  • 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

text_add_ring_layout_skill

TFTIC
TFTIC over 12 years ago
Hi all,

I have created (by skill) a ring (many paths of metals and contacts inside this ring) and I would like to
add in a specific location inside the ring two text labels-by skill. How could I do this? I would like to notice that my ring has not any bBox and that I should not use any.

I would appreciate your valuable help.

BR
Giannis
  • Cancel
  • TFTIC
    TFTIC over 12 years ago
    My script
    • ring7u.txt
    • View
    • Hide
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • TFTIC
    TFTIC over 12 years ago
    Please find attached the ring7u.txt (see above). Better open it with wordpad.
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • berndfi
    berndfi over 12 years ago
     1 procedure(mpeLabelInst(word)
     2    let((sel inst cv childID)
     3
     4    cv = geGetEditCellView();
     5    sel = geGetSelSet();
     6
     7    foreach(inst sel
     8       ChildID = dbCreateLabel(
     9                    cv
    10                    '("text")
    11                    mpeCalcBBMid(inst~>bBox)
    12                    word  
    13                    "centerCenter"
    14                    "R0" 
    15                    "roman" 
    16                    0.3
    17                    )
    18        leAttachFig(ChildID inst);
    19    );foreach
    20
    21 );let
    22 );idea for procedure for content
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • TFTIC
    TFTIC over 12 years ago

    Hi Bernd, Thank you for the help. I have tried the solution you provided and it does not work (concering the addition of the word Hello for instance).

    Moreover, I also think that there is a conceptual mistake in the script that I posted (to which yours is a slight variation):

    I select an object in order to add the ring, say a cell, and the bbox that is in the code refers in the bbox of the cell.
    The word that would be added in the ring should be not related to that object, but to the ring itself

    (thats why I initially stated that the location of the word in the ring should be relative to e.g. metal6 of the ring).

    But as I said before, even if the problem of the location of the word would be ignored, I did not manage to see any solution of adding the text by using the lines you provided as they are (only by simply substituting word-->Hello).

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • berndfi
    berndfi over 12 years ago

    I cannot judge your approach and I honestly didn’t want to rebuild your hole code.
    The mpeLabelInst function works for me as I have posted it, the input argument is datatype string, so you have to call it like this mpeLabelInst("Hello").

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • TFTIC
    TFTIC over 12 years ago
    Ok, thank you very much for your help and your time. I will see what else I could do. Best Regards
    • 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