• 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 Design
  3. SKILL global replace layer within ROD multipart-path

Stats

  • Locked Locked
  • Replies 5
  • Subscribers 125
  • Views 14440
  • 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

SKILL global replace layer within ROD multipart-path

archive
archive over 16 years ago

I'm currently writing some SKILL to globally search and replace layers in an existing layout(using leSearchHierarchy and leReplace).  This works fine, but does not work on mult-part paths(or at least on the subShapes of the MPP).  I am able to find the ROD object using rodGetObj and testing the items in the list returned from leSearchHierarchy to find the MPPs(if rodGetObj returns something other than nil, then the object is an ROD).  The problem is that i cannot find a way to change the layers of the objects that are  subShapes of the ROD object.  I can do this in the GUI, but selecting the ROD MPP, clicking the subpart button, which brings up the Edit ROD Subpart menu, where i can select enclosure subpath, subrectangle, or offset subpath and edit/apply the changes to the subShape layers.  I have not found a way to do this in SKILL however, so any help on this topic would be much appreciated!

I also tried to modify the techfile, where the MPPs are defined to see if that would globally reevaluate the MPPS with the new layer definition, but that doesn't work.  Apparently the mpps are only evaluated while drawing and once instantiated no longer refer to the definition in the techfile.  

 

Thanks in advance for any suggestions....

  • Cancel
Parents
  • Andrew Beckett
    Andrew Beckett over 11 years ago

    Anand,

    You're trying to do the operation with a dbId, rather than a rodId. You can find the rodId by doing:

    rodId=rodGetObj(dbId)

    You can then find the shapes contained within it by doing:

    rodId~>subShapes (and rodId~>dbId for the master shape)

    You'd do rodUnNameShape(rodId).

    Hope that helps,

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • Andrew Beckett
    Andrew Beckett over 11 years ago

    Anand,

    You're trying to do the operation with a dbId, rather than a rodId. You can find the rodId by doing:

    rodId=rodGetObj(dbId)

    You can then find the shapes contained within it by doing:

    rodId~>subShapes (and rodId~>dbId for the master shape)

    You'd do rodUnNameShape(rodId).

    Hope that helps,

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Children
No Data

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