• 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. Alias code help

Stats

  • Locked Locked
  • Replies 5
  • Subscribers 144
  • Views 15222
  • 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

Alias code help

vmartins
vmartins over 14 years ago

Hi to all,I looked around for this codes but finally I decided to ask.

I'm a very basic skill coder but I want to learn more so first if someone could send me a link on where to start I appreciate.

Secondly, I was trying to setup a alias to togle between two callbacks functions I set up in other script that is loaded before in the setup.

what is the code line expression!!??   list( "Ctrl<Key>KEY"     "....")

 

For last, I was trying to set up a alias to toggle "sidewyas" and "upside down" option in a move or copy command.

how do I toggle functions inside option forms!!

 

Thanks very much for the help in advance and best regards

Vasco

  • Cancel
  • dmay
    dmay over 14 years ago

    Take a look at these older posts that tell you where you can learn more about Skill programming.

    /forums/p/17488/1245532.aspx#1245532

    /forums/p/3486/3496.aspx#3496

    I'm assuming that you are referring to bindkeys rather than aliases. the command you want to use is:

    hiSetBindKey(
    [t_applicationType]
    [t_key]
    [t_skill_cmd]
     )
         => t | nil
    Binds a SKILL command string to a keyboard key or a mouse sequence for an application.

    Reference above comes from the Cadence Skill Finder utility. You can start it from a shell command line using "cdsFinder" or from your CIW using "startFinder". You can then use it to find commands and a brief description of their arguments. More information is in the Skill Reference guide.

    Here is a simple example for a bindkey to run the Layer Tap command:
    hiSetBindKey("Layout" "Ctrl<Key>t" "leHiLayerTap()")

    Lastly, if you are using the built-in Cadence commands for move/copy/stretch, then typically the right mouse button or middle mouse button will rotate the item you are moving, and a shift and the mouse button will flip sideways or upside down. Here are the bindkeys used in 6.1.5:

    hiSetBindKey("Layout" "None<Btn2Down> EF" "lxCmdOptions()")
    hiSetBindKey("Layout" "Ctrl<Btn2Down> EF" "cmdCtrlOption()")
    hiSetBindKey("Layout" "Shift<Btn2Down> EF" "lxCmdShiftOptions()")

    Notice the "EF" designation. This indicates that the command will only work during an "Enter Function". In other words, when you are in the midst of a "move" operation, this key will work. If no commands are active these key bindings won't be used, You could actually have a different command bound to these keys without the EF designation that would be used when no command is currently running.

    Take a look at the default bindkeys by going to the CIW->Options->Bindkeys menu.

    Derek

     

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • vmartins
    vmartins over 14 years ago

     Hi, Thanks very much for the help, it was much helpfull.

     But I couldn't open the links you sent me(permisson acess denied) so I still don't have an "cadence function manual"

     how can I find the command lines to access the options forms with the intention of inputing variables like for example:

    number of rows or columns by pressing contrl 1 or 2 or 3 accordingly.

    In the API finder I can't find how to input values in forms.

     

    thanks again for the Help and best regards.

    Vasco

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • dmay
    dmay over 14 years ago

    The links simply take you to other posts on this design forum, so I am not sure why you are not able to access them. Search for "Skill documentation" on the Skill Forum and it will take you to these links and several others.

    If you are running Cadence 5.1.41, you can access the documentation using "cdsdoc". If you are using Cadence 6.1.x, you can access the documentation using "cdnshelp". From either of these you should be able to browse to the Cadence Skill Reference and User Guides.

    For what you are describing, you can often do that my updating the object itself and there is no need to access the form. Here is another forum post describing how to update vias in 5.1.41.

    /forums/T/19138.aspx

    Derek

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Sattar72
    Sattar72 over 10 years ago
    Hi Brother: Where can i get Cadence layout Skill code bindkeys userguide..If u have plz mail me: ssattar72@gmail.com
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 10 years ago

    I've no idea what "Cadence layout Skill code bindkeys userguide" is.

    However, the documentation comes with the software. Simply run <ICinstDir>/tools/bin/cdnshelp (if using IC61X) or use the Help menus within Virtuoso. Or you can look in <ICinstDir>/doc and then under each sub-directory there are pdf files.

    For example, <ICinstDir>/doc/sklayoutref/sklayoutref.pdf for layout editor related SKILL functions (if that's what you wanted - your question didn't really make sense).

    BTW, the forum guidelines ask you not to post on the end of old (over 3 years old) threads.

    Kind Regards,

    Andrew.

    • 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