Home > Community > Forums > Custom IC SKILL > changing layers in skill???

Email

* Required Fields

Recipients email * (separate multiple addresses with commas)

Your name *

Your email *

Message *

Contact Us

* Required Fields
First Name *

Last Name *

Email *

Company / Institution *

Comments: *

 changing layers in skill??? 

Last post Fri, Oct 6 2006 2:01 PM by archive. 3 replies.
Started by archive 06 Oct 2006 02:01 PM. Topic has 3 replies and 1842 views
Page 1 of 1 (4 items)
Sort Posts:
  • Fri, Oct 6 2006 2:01 PM

    • archive
    • Top 75 Contributor
    • Joined on Fri, Jul 4 2008
    • Posts 88
    • Points 4,950
    changing layers in skill??? Reply

    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
    • Post Points: 0
  • Fri, Oct 6 2006 3:28 PM

    • archive
    • Top 75 Contributor
    • Joined on Fri, Jul 4 2008
    • Posts 88
    • Points 4,950
    RE: changing layers in skill??? Reply

    Ah, I figured it out.

    dbSet(cvid "M2" "layerName")


    Originally posted in cdnusers.org by clafrieda
    • Post Points: 0
  • Sat, Oct 7 2006 6:51 PM

    • archive
    • Top 75 Contributor
    • Joined on Fri, Jul 4 2008
    • Posts 88
    • Points 4,950
    RE: changing layers in skill??? Reply

    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
    • Post Points: 0
  • Mon, Oct 9 2006 4:03 AM

    • archive
    • Top 75 Contributor
    • Joined on Fri, Jul 4 2008
    • Posts 88
    • Points 4,950
    RE: changing layers in skill??? Reply

    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
    • Post Points: 0
Page 1 of 1 (4 items)
Sort Posts:
Started by archive at 06 Oct 2006 02:01 PM. Topic has 3 replies.