Home > Community > Forums > Custom IC SKILL > looking for shared code for mapping bump command to keypad

Email

* Required Fields

Recipients email * (separate multiple addresses with commas)

Your name *

Your email *

Message *

Contact Us

* Required Fields
First Name *

Last Name *

Email *

Company / Institution *

Comments: *

 looking for shared code for mapping bump command to keypad 

Last post Mon, Apr 14 2008 6:08 AM by archive. 2 replies.
Started by archive 14 Apr 2008 06:08 AM. Topic has 2 replies and 2869 views
Page 1 of 1 (3 items)
Sort Posts:
  • Mon, Apr 14 2008 6:08 AM

    • archive
    • Top 75 Contributor
    • Joined on Fri, Jul 4 2008
    • Posts 88
    • Points 4,950
    looking for shared code for mapping bump command to keypad Reply

    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
    • Post Points: 0
  • Mon, Apr 14 2008 7:45 AM

    • archive
    • Top 75 Contributor
    • Joined on Fri, Jul 4 2008
    • Posts 88
    • Points 4,950
    RE: looking for shared code for mapping bump command to keypad Reply

    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
    • Post Points: 0
  • Mon, Apr 14 2008 7:55 AM

    • archive
    • Top 75 Contributor
    • Joined on Fri, Jul 4 2008
    • Posts 88
    • Points 4,950
    RE: looking for shared code for mapping bump command to keypad Reply

    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
    • Post Points: 0
Page 1 of 1 (3 items)
Sort Posts:
Started by archive at 14 Apr 2008 06:08 AM. Topic has 2 replies.