• 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. Allegro X Scripting - TCL
  3. Find the GND connected to the pin

Stats

  • State Suggested Answer
  • Replies 1
  • Answers 1
  • Subscribers 12
  • Views 540
  • Members are here 0
More Content

Find the GND connected to the pin

YW202505149337
YW202505149337 3 months ago

I have a question regarding TCL in OrCAD Capture.

When a pin is connected to a wire, and that wire is connected to GND, I can use DboWire NewGlobalsIter() to get the DboWireGlobalsIter, then use DboWireGlobalsIter NextGlobal() to get the connected DboGlobal (GND).

However, if the pin is directly connected to GND, is there a way to use DboPortInst to find the connected DboGlobal?

So far, I haven't found any way to use NewGlobalsIter() on DboPortInst.

Has anyone encountered a similar issue?

  • Sign in to reply
  • Cancel
  • CadAP
    0 CadAP 3 months ago

    YW202505149337 

    Are you talking about below scenario.

    If yes, please selected the pin and type below command:

    [GetSelectedObjects] GetNet [DboState]

    [GetSelectedObjects] GetWire [DboState]

    You can directly get pin dbid and pass above in place of [GetSelectedObjects] to work for all pins.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
Cadence Guidelines

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