• 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. Find paths an MPPs

Stats

  • Locked Locked
  • Replies 3
  • Subscribers 144
  • Views 13530
  • 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

Find paths an MPPs

RVERP
RVERP over 8 years ago

I want to write a script that searches all the paths in my layout (level0). But if I look for shaps with objType "path", the MPP's are also included. How can I see the difference between a path and a MPP?

  • Cancel
  • psill000
    psill000 over 8 years ago

    Sorry I am going from memory, so I can be wrong.

    MPP are rod objects. Use this function to determine if it is a MPP

    rodIsObj(objDb)

    Paul

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • RVERP
    RVERP over 8 years ago

    Hello Paul, I already tried that option. I selected a MPP (just one) and executed rodIsObj(car(geGetSelSet())), but it returns nil.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • skillUser
    skillUser over 8 years ago

    Hi,

    Try this instead: rodIsObj(rodGetObj(car(geGetSelSet()))) or even just rodGetObj(car(geGetSelSet())) as it will return nil for a regular path. Be aware that instances will return a rodObj if using this code, so you may need to ensure that the selected objType is a path first.

    Also you could look at, say, the subParts to verify that the shape is an MPP: 

    mpp = rodGetObj(car(geGetSelSet()))
      => rodObj:0x444cad00
    mpp~>subShapes
      => (db:0x838500a4 db:0x838500a5)
    

    Hopefully this will help you.

    Best regards,

    Lawrence.

    • 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