Home > Community > Forums > Custom IC SKILL > creating layer icons on the "horizontal tool bar space"


* 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: *

 creating layer icons on the "horizontal tool bar space"  

Last post Thu, Sep 27 2012 6:59 AM by dmay. 1 replies.
Started by Adhil 23 Sep 2012 06:07 PM. Topic has 1 replies and 810 views
Page 1 of 1 (2 items)
Sort Posts:
  • Sun, Sep 23 2012 6:07 PM

    • Adhil
    • Top 150 Contributor
    • Joined on Fri, Apr 15 2011
    • Singapore, 00-SG
    • Posts 61
    • Points 1,245
    creating layer icons on the "horizontal tool bar space" Reply


    I was always quite uncomfortable in switching between the layout window and the lsw when selecting layers to draw. It recently occured to me that there were alot of space on the horizontal tool bar just above the black screen. I was thinking whether I can populate this bar with icons of the layers i frequently use, so that i don't have to take the extra step of switching between windows to select layers.

    I am aware that virtuoso has the option to include the lsw in the layout window itself. but it takes space from the black screen.

    I hope to create the layer icons that look similar to the ones in the lsw (picture and all).

     How can i do this


    • Post Points: 20
  • Thu, Sep 27 2012 6:59 AM

    • dmay
    • Top 25 Contributor
    • Joined on Thu, Jul 17 2008
    • Allen, TX
    • Posts 396
    • Points 7,445
    Re: creating layer icons on the "horizontal tool bar space" Reply

    This can only be done in Cadence 6.1.x and is not be hard to do. Personally, I'd rather use bindkeys either to set common layers, or to toggle the visibility of the layer palette. However, to create a toolbar of common layers could be done like this:

    1. Create a directory in your home directory:
    mkdir -p ~/.cadence/dfII/toolbars/byApplication

    2. Create a file called Layout.toolbars with content like this:
            inheritToolbarsFrom "Layout"

            name myLayerToolbar
            text "MyLayers"
            items (
                    type            action
                    name          setActiveLayerMetal1
                    text            "metal1"
                    iconFile       "metal1.png"
                    callback      "leSetEntryLayer(list(\"metal1\" \"drawing\"))"
    You can have as many items as you want.

    3. Create a directory for your layer icons:
    mkdir -p ~/.cadence/icons/24x24

    4. Look at some sample icons from Cadence ($CDSHOME/share/cdssetup/icons/24x24/). You can choose one of these, or edit it in your favorite picture/icon editor. You could even grab a screenshot of the layer from your layer palette and use that. Create an icon file called metal1.png (portable network graphics image file) in your new 24x24 directory.

    5. Restart Cadence, open your layout editor and enable your new toolbar by right clicking in the toolbar area and choosing the new "MyLayers" toolbar.



    • Post Points: 5
Page 1 of 1 (2 items)
Sort Posts:
Started by Adhil at 23 Sep 2012 06:07 PM. Topic has 1 replies.