• 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. Bindkey for turning off the "Cross Cursor" in Layout

Stats

  • Locked Locked
  • Replies 7
  • Subscribers 145
  • Views 3176
  • 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

Bindkey for turning off the "Cross Cursor" in Layout

Arokia
Arokia over 2 years ago

Hi Team, 

May I please know how to turn off the "Cross cursor" in Layout using bindkey

I've tried the below, but it does not work for me

hiSetBindKey("Layout" "ctrl<Key>z" "leDisplayOptionsForm->options->cursorShape->value =  nil")

I've also tried the below 

hiSetBindKey("Layout" "ctrl<Key>z" "leHiEditDisplayOptions(\"options\;cursorShape\" nil \"Objects\")")

But still nothing happens. 

Thanks 

Arokia

  • Cancel
Parents
  • shoefly
    shoefly over 2 years ago

    Hi Arokia,

    If you are adamant about turning "Cross Cursor" off, this should work:

    hiSetBindKey("Layout" "ctrl<Key>z" "hiGetCurrentWindow()->cursorShape=nil")

    Keep in mind that this is just a window-specific setting. If you want a global setting, you may want to add a setting in the .cdsenv to automatically keep Cross Cursor off. 

    Of course, as a devout Andrew Beckett fangirl, I would be remiss if I did not warn you of a caveat when using the envSetVal. It is what he has referred to as "the last resort" for the lookup when opening a new window. Priority is the cellView's properties; if there are no relevant cellView properties, then the library's props are priority. If there are no relevant library props, then the technology library's properties are priority; if those are non-existant, then the .cdsenv finally gets to shine.

    Good luck - I'm cross-(cursor)-ing my fingers that this works for you & that you have fun exploring customizations!

    -J

    • Cancel
    • Vote Up +1 Vote Down
    • Cancel
  • Arokia
    Arokia over 2 years ago in reply to shoefly

    Wow, this worked, but when I tried the same for the dimming option it did not work Disappointed

    I tried the below.

    hiSetBindKey("Layout" "<Key>F12" "hiGetCurrentWindow()->enableDimming=nil")

    Thanks,

    Arokia

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Arokia
    Arokia over 2 years ago in reply to Arokia

    This worked though 

    hiGetCurrentWindow()->dimmingOn=t

    or

    hiGetCurrentWindow()->dimmingOn=!hiGetCurrentWindow()->dimmingOn

    But now I wonder how to turn on Automatic dimming checkbox?

    Tried the below but did not work

    hiGetCurrentWindow()->dimmingAutoEnable=t 

    Thanks

    Arokia.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • Arokia
    Arokia over 2 years ago in reply to Arokia

    This worked though 

    hiGetCurrentWindow()->dimmingOn=t

    or

    hiGetCurrentWindow()->dimmingOn=!hiGetCurrentWindow()->dimmingOn

    But now I wonder how to turn on Automatic dimming checkbox?

    Tried the below but did not work

    hiGetCurrentWindow()->dimmingAutoEnable=t 

    Thanks

    Arokia.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Children
  • mschw
    mschw over 2 years ago in reply to Arokia

    Dear Arokia,

    i think it is hiGetCurrentWindow()->dimmingAutoEnabled and not hiGetCurrentWindow()->dimmingAutoEnable.
    You can list  all properties of the window in the CIW with hiGetCurrentWindow()->?.
    In addition, maybe this article can help you out.

    Regards,
    Matthias

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Arokia
    Arokia over 2 years ago in reply to mschw

    Sadly both the below commands don't work

    hiSetBindKey("Layout" "<Key>F1" "hiGetCurrentWindow()->dimmingAutoEnable")
    hiSetBindKey("Layout" "<Key>F12" "hiGetCurrentWindow()->dimmingAutoEnabled")

    Thanks,

    Arokia

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • AurelBuche
    AurelBuche over 2 years ago in reply to Arokia

    That is because "hiGetCurrentWindow()->dimmingAutoEnabled" does nothing except returning the value of dimmingAutoEnabled in the current window

    You should set it either to t or !hiGetCurrentWindow()->dimmingAutoEnabled ...

    hiSetBindKey("Layout" "<Key>F12" "hiGetCurrentWindow()->dimmingAutoEnabled=t")

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Arokia
    Arokia over 2 years ago in reply to AurelBuche

    My Bad, yeah, after including =t, it worked. Thanks Slight smile

    • 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