• 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 code to center label/text on its associated pin

Stats

  • Replies 2
  • Subscribers 146
  • Views 407
  • Members are here 0

Skill code to center label/text on its associated pin

AR202509246930
AR202509246930 27 days ago

I’m looking for a skill code that ensures the label or text drawing sits exactly at the center of its associated pin. Any guidance or examples would be greatly appreciated.
As I'm using Virtuoso Cadence IC 23.1 version

  • Cancel
  • Sign in to reply
Parents
  • Andrew Beckett
    Andrew Beckett 25 days ago

    This should do it (I just threw this together):

    procedure(CCFmoveLabelsToPinCentre(@optional (cv geGetEditCellView()))
      foreach(term cv~>terminals
        foreach(pin term~>pins
          foreach(fig pin~>figs
            foreach(child fig~>children
              when(child~>objType=="label" || child~>objType=="textDisplay"
                child~>xy=centerBox(fig~>bBox) 
              )
            )
          )
        )
      )
      t
    )
    

    Andrew

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Reply
  • Andrew Beckett
    Andrew Beckett 25 days ago

    This should do it (I just threw this together):

    procedure(CCFmoveLabelsToPinCentre(@optional (cv geGetEditCellView()))
      foreach(term cv~>terminals
        foreach(pin term~>pins
          foreach(fig pin~>figs
            foreach(child fig~>children
              when(child~>objType=="label" || child~>objType=="textDisplay"
                child~>xy=centerBox(fig~>bBox) 
              )
            )
          )
        )
      )
      t
    )
    

    Andrew

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Children
  • AR202509246930
    AR202509246930 14 days ago in reply to Andrew Beckett

    Thank you, Andrew,

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