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