• 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 Design
  3. [Virtuoso layout XL] How to switch between quick align User...

Stats

  • Locked Locked
  • Replies 3
  • Subscribers 125
  • Views 16437
  • 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

[Virtuoso layout XL] How to switch between quick align User Spacing and quick align No Spacing with single keystroke?

94d33m
94d33m over 4 years ago

So currently I have to do A>F3>use mouse to select No Spacing or User Spacing and then align, but I switch between them pretty often and it looks like if there was a bindkey for switching them it would be alot better. Is there any way? ( Sorry I don't have any SKILL knowledge, so please help me out on this )

  • Cancel
  • Andrew Beckett
    Andrew Beckett over 4 years ago

    In IC6.1.8/ICADVM20.1 you can find the relevant env var fairly easily by using Options->Cdsenv editor and searching for "align". Keep this open, and then as you interact with the F3 options form, you'll see which env var changes.

    You can then assign this to a bindkey:

    leSetEnv("quickAlignSpacingType" if(leGetEnv("quickAlignSpacingType")=="user" "none" "user"))

    This toggles between user and none. You could assign this to (say) the Shift-Ctrl-B key (I picked one at random that wasn't used):

    hiSetBindKey("Layout" "ShiftCtrl<Key>B" "leSetEnv(\"quickAlignSpacingType\" if(leGetEnv(\"quickAlignSpacingType\")==\"user\" \"none\" \"user\"))")

    This line can be added to your .cdsinit.

    Regards,

    Andrew

    • Cancel
    • Vote Up +1 Vote Down
    • Cancel
  • 94d33m
    94d33m over 4 years ago in reply to Andrew Beckett

    Wow thanks Andrew, I didn't know about cdsenv editor!

    1) How did you find out that shift+ctrl+ B was unused? 

    2) Can I just type the 'hiSetBindKey' in the command line everytime I open Virtuoso XL? ( Because I'm afraid of changing bindkeys since we are working as a team and I'm not sure if the .cdsinit is a common file amongst my other team mates) 

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 4 years ago in reply to 94d33m

    I checked the default bindkeys - of course yours might be different - by using Options->Bindkeys, selecting "Layout" as the application, and then in the search box I entered "B" (to narrow it down a bit) and then checked to see what was set.

    You could just enter the command in the bindkey editor each time (use the + button on the form to add a new bindkey), or paste the command in the CIW. I can't answer whether your .cdsinit is shared or not - you'd have to check that yourself.

    Andrew

    • Cancel
    • Vote Up +1 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