• 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. Help converting skill from IC5 to IC6

Stats

  • Locked Locked
  • Replies 4
  • Subscribers 143
  • Views 14830
  • 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

Help converting skill from IC5 to IC6

blankman
blankman over 13 years ago

Hi All,

I have some skill code below im hoping to convert from IC5 to IC6. I know many functions/commands have changed with the switchover, however I haven't had much luck myself trying to convert.

I am also seeing that the keypad keys are non functional or semi functional in IC6. Would there be a workaround for this?

Any help much appreciated, thanks!

;Changing via type
procedure(BSchangetoVia1()
let((newMaster)
        foreach(fig geGetSelSet()
                when(fig~>objType=="inst"
                        newMaster=dbOpenCellViewByType(fig~>libName "met2_met1_b" fig~>viewName)
                        fig~>master=newMaster
                        dbClose(newMaster)
                        printf("Contact type = %L\n" fig~>cellName)
                );when
        );foreach
);let
);procedure
hiSetBindKey("Layout" "Alt<key>KP_End" "BSchangetoVia1()")

;Changing via columns
procedure(BSchangeViaVertDecPathFine()
let((message x1 x2 dx labelheight point win hs Right Left Top Bottom dx1000 intdx1000 a RightNew LeftNew LowerLeft UpperRight newbBox sum crdList firstPt lastPt areap)
        foreach(fig geGetSelSet()
                when(fig~>objType=="inst"
                        prop=dbFindProp(fig "column")
                        if( prop != nil
                                then    if( fig~>column >= 3
                                                then fig~>column = fig~>column - 1
                                                else dbDeletePropByName(fig "column")
                                        )
                                else    nil
                        );if
                        printf("Colums = %L\n" fig~>column)
                );when
        );foreach
);let
);procedure
hiSetBindKey("Layout" "Shift Alt<key>KP_Subtract" "BSchangeViaVertDecPathFine()")

  • Cancel
Parents
  • Andrew Beckett
    Andrew Beckett over 13 years ago

    Brian,

    The bindkeys you list work for me - I can see the functions being called (even if they don't work because of the code).

    In some cases you probably need to bind the key as Alt<Key>KP_1 rather than ShiftAlt<Key>KP_End (for example). It also will depend on whether Num Lock is pressed or not, I guess.

    If you use the new BindKey editor, you can press the key sequence when you're editing the bindkey - and it will then tell you the magic sequence describing the key.

    Note that in general Alt bindkeys don't work (this is more for the letters on the keyboard) because the Alt key is used for menu accellerators (that can be controlled though using a cdsenv setting - see solution 11315096  )

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • Andrew Beckett
    Andrew Beckett over 13 years ago

    Brian,

    The bindkeys you list work for me - I can see the functions being called (even if they don't work because of the code).

    In some cases you probably need to bind the key as Alt<Key>KP_1 rather than ShiftAlt<Key>KP_End (for example). It also will depend on whether Num Lock is pressed or not, I guess.

    If you use the new BindKey editor, you can press the key sequence when you're editing the bindkey - and it will then tell you the magic sequence describing the key.

    Note that in general Alt bindkeys don't work (this is more for the letters on the keyboard) because the Alt key is used for menu accellerators (that can be controlled though using a cdsenv setting - see solution 11315096  )

    Regards,

    Andrew.

    • 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