• 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. using Alt for bindkey combination

Stats

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

using Alt for bindkey combination

Heywire
Heywire over 7 years ago

Hi Andrew, 

I am unable to use Alt for bindkey combination for a layout procedure.  I  went through your previous posts for using  "Alt for bindkey combination"  and tried loading

envGetVal("ui" "enableMenuShortcuts" stringToSymbol("boolean"))    in CIW ,   it returns t . 

Regardless I also get below warnings and I am unable to use "Alt" combination for bindkeys.

*WARNING* Bindkey uses Alt modifier and will be ignored.
*WARNING* Invalid bindkey key string: AltShift<Key>0

Please give me a suggestion.

Thank you,

Anand

  • Cancel
  • Andrew Beckett
    Andrew Beckett over 7 years ago

    Anand,

    Did you add this to a .cdsenv file or did you do an envSetVal() in the .cdsinit? This needs to be set in the .cdsenv (if I remember rightly) as otherwise it is set to late to have an influence. That's true - if you try to do it via envSetVal in the session, it will tell you via a popup. I just tested this again with a .cdsenv file and it works fine.

    Note that you need (normally) would need to put this in a .cdsenv file in your home directory; we normally don't read the .cdsenv in your working directory by default (this can be altered using the Cadence Search File mechanism or using $CDS_LOAD_ENV - see the documentation). So maybe that's what you've done wrong?

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Heywire
    Heywire over 7 years ago in reply to Andrew Beckett

    Hi Andrew,

    Thanks for reply.  .cdsenv file in my home path is "read-only" ,it cant be edited. but i can see that  ui  enableMenuShortcuts stringToSymbol("boolean") is not present in .cdsenv.

    Yet envGetVal("ui" "enableMenuShortcuts" stringToSymbol("boolean"))    in CIW ,   it returns t.  When i do ls -lrt .cdsenv  it shows writable for me but this .cdsenv file is referring to common project folder and i cant edit this .csenv. Is there any work-around for this?

    Thanks in advance,

    Anand

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 7 years ago in reply to Heywire

    Anand,

    Create a .cdsenv file in your working directory with the contents:

    ui enableMenuShortcuts boolean nil

    Then do:

    setenv CDS_LOAD_ENV addCWD

    or

    export CDS_LOAD_ENV=addCWD

    depending on the shell you're using (first is for csh, second is for bash/ksh). Then start virtuoso from that shell - this will tell it to read the .cdsenv in your working directory as well as the home directory.

    Note that  you would never put a SKILL function call such as stringToSymbol() in a .cdsenv file since it's not a SKILL file. In fact I'm not sure why you would do that even when doing envSetVal() because you could just as easily use 'boolean rather than stringToSymbol("boolean").

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Heywire
    Heywire over 7 years ago in reply to Andrew Beckett

    Thank you very much 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