• 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. custom blind key not working

Stats

  • Locked Locked
  • Replies 2
  • Subscribers 143
  • Views 13284
  • 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

custom blind key not working

iqbalsahid
iqbalsahid over 8 years ago

I wrote this script in skill. All keys are working except Shift+0. I cant understand why? need help..

hiSetBindKeys("Layout" list( list("Shift<Key>0" "Simcreatevia( geGetWindowCellView() hiGetPoint( getCurrentWindow() ) 0 )")
                             list("Shift<Key>1" "Simcreatevia( geGetWindowCellView() hiGetPoint( getCurrentWindow() ) 1 )")
                             list("Shift<Key>2" "Simcreatevia( geGetWindowCellView() hiGetPoint( getCurrentWindow() ) 2 )")))

procedure( Simcreatevia( cv xy num )
        let( ( x1 x2 y1 y2 pos)
                case( num
                        ( 0
                                x1 = car(xy) - 0.034
                                x2 = car(xy) + 0.034
                                y1 = cadr(xy) - 0.022
                                y2 = cadr(xy) + 0.022
                                pos = list( list(x1 y1) list(x2 y2) )
                                dbCreateRect( cv list( "v0" "drawing" ) pos )
                                leSetLayerVisible( `("v0" "drawing") t )
                                leSetLayerSelectable( `("v0" "drawing") t )
                                leSetEntryLayer( `("v0" "drawing") )
                        )
                        ( 1
                                x1 = car(xy) - 0.03
                                x2 = car(xy) + 0.03
                                y1 = cadr(xy) - 0.022
                                y2 = cadr(xy) + 0.022
                                pos = list( list(x1 y1) list(x2 y2) )
                                dbCreateRect( cv list( "v1" "drawing" ) pos )
                                leSetLayerVisible( `("v1" "drawing") t )
                                leSetLayerSelectable( `("v1" "drawing") t )
                                leSetEntryLayer( `("v1" "drawing") )
                        )
                        ( 2
                                 x1 = car(xy) - 0.022
                                x2 = car(xy) + 0.022
                                y1 = cadr(xy) - 0.029
                                y2 = cadr(xy) + 0.029
                                pos = list( list(x1 y1) list(x2 y2) )
                                dbCreateRect( cv list( "v2" "drawing" ) pos )
                                leSetLayerVisible( `("v2" "drawing") t )
                                leSetLayerSelectable( `("v2" "drawing") t )
                                leSetEntryLayer( `("v2" "drawing") )
                        )
                )
        )
)
  • Cancel
  • Andrew Beckett
    Andrew Beckett over 8 years ago

    Using Shift<Key>Number bindkeys is not a reliable way to define bindkeys since IC61 - instead  you probably want something like "Shift<Key>)" - or whatever character is on the key. There have been a few posts in the forums on this in the past, plus articles on Cadence Online Support.

    The way to check is to use Options->Bindkey in the CIW, pick the Layout Application, and the on the right side hit the Green + icon. With your cursor in the box with the key sequence, press Shift-0 and you'll see what encoding it puts there - just use that in your code.

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • iqbalsahid
    iqbalsahid over 8 years ago
    thanks
    • 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