• 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. looking for shared code for mapping bump command to key...

Stats

  • Locked Locked
  • Replies 2
  • Subscribers 142
  • Views 13273
  • 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

looking for shared code for mapping bump command to keypad

archive
archive over 17 years ago

I was wondering if anyone has posted previously or is using skill code that they can share here to map bump commands to the direction keys of the number pad in Virtuoso.  I am not sure I am even using the right terminology to search for what I want.

Basically I want to able to move my curser on screen one step size north, south, east, or west.  So when I am moving ot stretching an object Idon't have to use my mouse to move it, instead use my direction keys or any other keys I decide to map it to.  When you get to technologies that have step sizes of .001um it gets pretty annoying trying to move or stretch shapes and zooming in and out constanty to get things moved properly.  I end up spending about 70% ofmy time zooming in and out.  The other virtuoso users I work with don't have any solutions for it. The guys that I work with said that there used to be some code for it but it got lost at some point.  We use a different layout tool that has this feature and it would be nice to use the same thing in Virtuoso.


Originally posted in cdnusers.org by ngyoung
  • Cancel
  • archive
    archive over 17 years ago

    Try this:

    leMoveCursor(dx dy)

    Bindkeys like this:
    hiSetBindKey("Layout" "KP_2" "leMoveCursor(0 -0.001)")
    hiSetBindKey("Layout" "KP_8" "leMoveCursor(0 0.001)")
    hiSetBindKey("Layout" "KP_6" "leMoveCursor(0.001 0)")
    hiSetBindKey("Layout" "KP_2" "leMoveCursor(-0.001 0)")
    OR
    hiSetBindKey("Layout" "KP_Down" "leMoveCursor(0 -0.001)")
    hiSetBindKey("Layout" "KP_Up" "leMoveCursor(0 0.001)")
    hiSetBindKey("Layout" "KP_Right" "leMoveCursor(0.001 0)")
    hiSetBindKey("Layout" "KP_Left" "leMoveCursor(-0.001 0)")

    Select the object, start the move, use the bindkeys, then press Enter to complete the move.

    -Derek


    Originally posted in cdnusers.org by dmay
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • archive
    archive over 17 years ago

    The was lost in my previous post.

    hiSetBindKey("Layout"      "KP_Down" "leMoveCursor(0 -0.001)")
    hiSetBindKey("Layout"      "KP_Up" "leMoveCursor(0  0.001)")
    hiSetBindKey("Layout"      "KP_Right" "leMoveCursor(0.001 0)")
    hiSetBindKey("Layout"      "KP_Left" "leMoveCursor(-0.001 0)")


    Originally posted in cdnusers.org by dmay
    • 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