• 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. changing layers in skill???

Stats

  • Locked Locked
  • Replies 3
  • Subscribers 142
  • Views 14612
  • 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

changing layers in skill???

archive
archive over 18 years ago

I'm trying to change the layer (tx_layer) of a db object with skill.  For example, let's say I have an object that is simply a rectangle of M1.  Is there a way to change that object to be the same size rect, but of M1?  I'm looking through the documentation, but I don't see any functions that allow you do to this.


Originally posted in cdnusers.org by clafrieda
  • Cancel
  • archive
    archive over 18 years ago

    Ah, I figured it out.

    dbSet(cvid "M2" "layerName")


    Originally posted in cdnusers.org by clafrieda
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • archive
    archive over 18 years ago

    Presumably cvid in your case was not a CellView Id (as the variable name suggests) but the db object representing the shape you want to modify?

    If so, you could have done this with:

    shape~>layerName="M2"

    which is the same as doing:

    dbSetq(shape "M2" layerName)

    Using dbSet allows the attribute name (the third argument) to be an expression - in this case the string is converted to a symbol automatically.

    Regards,

    Andrew.


    Originally posted in cdnusers.org by adbeckett
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • archive
    archive over 18 years ago

    Hello,

    If you like to do this interactive too, when working on selected objects, you could
    define bindkeys to change the layers of selected objects. I use this regularly to
    change the layer from one metal to another or to poly. With Shift-Alt-1 to M1, Shift-Alt-2 to
    M2 etc. Works on single or multiple selected paths or polygons. I also use it
    when creating layouts to follow paths by changing one selected path deliberately
    to another layer (and don't forget to change it back!) to easily follow it accross
    the design.

    If you want you can look at my bindkeys at:
    http://relyveld.wordpress.com/ - Relyveld's blog - cadence page

    Greetings, William.


    Originally posted in cdnusers.org by relyveld
    • 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