• 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. how to select and deselect a layer using only one bind key...

Stats

  • Locked Locked
  • Replies 13
  • Subscribers 145
  • Views 23611
  • 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

how to select and deselect a layer using only one bind key?

IC Layout
IC Layout over 16 years ago

 Hello! Everybody, GoodEvening to all,

Please, can anybody help me in giving the solution for this question. 

I am using cadence IC514 version.

I would like to select a layer using one bind key also it should deselect the same layer if I press the same bind key.

Thanks in advance...

                             waiting for Ur replys.........

                                            Prabhakar-The VLE
 

  • Cancel
Parents
  • IC Layout
    IC Layout over 16 years ago

     Hello, Mr.Ted your code has explored some different ideas in my mind...Of course it's not my intention but it is very useful in some particular situations.

    I am very sorry, if I have taken your valuable time.

    Actually, my problem is as follows...

    Initially I had set a bindkey to make invisible all layers in my layout. 

    procedure(lsw_inv()

        leSetEntryLayer(list("Bondpad" "drawing"))

        leSetAllLayerVisible(nil)

        hiRedraw()

    );procedure

    hiSetBindKey("Layout" "Alt<Key>i" "lsw_inv")

    In a similar manner I had set a bind key to make the all layers visible.

    My project manager had asked me to make all layers invisible and if he press Ctrl-2 , Metal2 and via1(M2_M1c) has to be visible.

    Also if he press same key (Ctrl-2) , Metal2 and via1 has to be invisible.

    I made solution for this by  setting two bindkeys but not one.

    Can U help me in this way.

    procedure(visible()

        leSetLayerVisible(list("Via1" "drawing") t )

        leSetLayerVisible(list("Metal2" "drawing") t )

        hiRedraw()

    );procedure

    hiSetBindKey("Layout" "Ctrl<Key>1" "visible()") 

    procedure(invisible()

        leSetLayerVisible(list("Via1" "drawing") nil )

        leSetLayerVisible(list("Metal2" "drawing") nil )

        hiRedraw()

    );procedure

    hiSetBindKey("Layout" "Alt<Key>1" "invisible()")

    Now I would like to use only one bind key for the two purposes...

     

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • IC Layout
    IC Layout over 16 years ago

     Hello, Mr.Ted your code has explored some different ideas in my mind...Of course it's not my intention but it is very useful in some particular situations.

    I am very sorry, if I have taken your valuable time.

    Actually, my problem is as follows...

    Initially I had set a bindkey to make invisible all layers in my layout. 

    procedure(lsw_inv()

        leSetEntryLayer(list("Bondpad" "drawing"))

        leSetAllLayerVisible(nil)

        hiRedraw()

    );procedure

    hiSetBindKey("Layout" "Alt<Key>i" "lsw_inv")

    In a similar manner I had set a bind key to make the all layers visible.

    My project manager had asked me to make all layers invisible and if he press Ctrl-2 , Metal2 and via1(M2_M1c) has to be visible.

    Also if he press same key (Ctrl-2) , Metal2 and via1 has to be invisible.

    I made solution for this by  setting two bindkeys but not one.

    Can U help me in this way.

    procedure(visible()

        leSetLayerVisible(list("Via1" "drawing") t )

        leSetLayerVisible(list("Metal2" "drawing") t )

        hiRedraw()

    );procedure

    hiSetBindKey("Layout" "Ctrl<Key>1" "visible()") 

    procedure(invisible()

        leSetLayerVisible(list("Via1" "drawing") nil )

        leSetLayerVisible(list("Metal2" "drawing") nil )

        hiRedraw()

    );procedure

    hiSetBindKey("Layout" "Alt<Key>1" "invisible()")

    Now I would like to use only one bind key for the two purposes...

     

    • 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