• 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 move the pin label location in a schematic?

Stats

  • Replies 1
  • Subscribers 143
  • Views 675
  • Members are here 0

How to move the pin label location in a schematic?

hongjr
hongjr 2 months ago

I'm creating a script that adds instances to a schematic and automatically connects pins to those instances.
I can add pins well with the code I’ve written so far, but I want to change the placement of the pin labels.
When I use schCreatePin, the label justify is set to lowerCenter by default.
What I want to do is:

  1. Change the justify setting
  2. Move the label's XY coordinates

Could you give me some ideas?

Thank you very much for the great help.

procedure(addpin(pinlist)

let(()

y=0

pinMaster=dbOpenCellViewByType("basic" "iopin" "symbol" "" 'r)

foreach(pin reverse(pinlist)

pinlist=schCreatePin(newcv pinMaster pin "inputOutput" nil list(0 y) "R0" nil nil "signal")

y=y+0.125

)))

  • Sign in to reply
  • Cancel
  • RobMan
    RobMan 2 months ago

    The label is a attached to (a child of) the pin shape object.

    pin~>children will reveal the child objects. It's unlikely anything but the label is attached to the pin but parse this list if you need to.

    Then you can change the location, orientation, justification etc.

    e.g. pin~>children~>justify="centerLeft"

    • 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