• 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. creating layer icons on the "horizontal tool bar space"

Stats

  • Locked Locked
  • Replies 1
  • Subscribers 143
  • Views 1287
  • 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

creating layer icons on the "horizontal tool bar space"

Adhil
Adhil over 13 years ago

Hello

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

Adhil. 

  • Cancel
Parents
  • dmay
    dmay over 12 years ago

    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:
        (
            nil
            inheritToolbarsFrom "Layout"
        )

        (  
            nil
            name myLayerToolbar
            text "MyLayers"
            items (
                (
                    nil
                    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.

    Derek

     

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • dmay
    dmay over 12 years ago

    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:
        (
            nil
            inheritToolbarsFrom "Layout"
        )

        (  
            nil
            name myLayerToolbar
            text "MyLayers"
            items (
                (
                    nil
                    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.

    Derek

     

    • 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