How to get dX/dY when use enter function (lkie enterBox) when Ienter fitst point?

Discussion in 'Cadence' started by chentaison, Mar 26, 2009.

  1. chentaison

    chentaison Guest

    Dear All,

    I use a enterBox function , when I enter a box (lower left) and then I
    move mouse , it will show dx/dy in Cellview Window,
    How do I get current dX/dY when I enter the first point ?

    Thank you,
    Charley
     
    chentaison, Mar 26, 2009
    #1
  2. You can use leGetRefPoint() and leSetRefPoint() to manipulate the reference
    point - the dx/dy will be the difference between the current point and the
    reference point - I don't believe there is any function to return the dx/dy, but
    it should be trivial to calculate.

    Regards,

    Andrew.
     
    Andrew Beckett, Mar 28, 2009
    #2
  3. chentaison

    chentaison Guest

    Hi Andrew ,

    Since I use enterBox (to use leSetRefPoint) , but how do I to get
    current cursor coordinate
    ( not use addPoint to get)through move mouse ?

    Thank you,
    Charley
     
    chentaison, Mar 30, 2009
    #3
  4. hiGetPoint() ? Not entirely sure what you're trying to do .

    Regards,

    Andrew.
     
    Andrew Beckett, Mar 30, 2009
    #4
  5. chentaison

    chentaison Guest

    Hi Andrew,

    All I want to do is to get second coordinate(through hiGetPoint
    or ...command) ****but not necessary press click left mouse****.
    e.g. Ruler (Click start point then just move mouse then it will draw a
    line by dX/dY .(start point && end point is always chenged by move
    mouse) . How to do that ?

    Thank you,
    Charley
     
    chentaison, Mar 31, 2009
    #5
  6. chentaison

    William Guest

    William, Apr 3, 2009
    #6
  7. chentaison

    chentaison Guest


    Hi William,

    Thank you for the information.
    My problem is not how to get the first point , my problem is how to
    get second point by move "mouse " , not through enter function (e.g.
    enterPoint ...).
    When you use bindkey (k) : Create Ruler command , you need to use
    mouse to set the 1st point , and then the distance will be changed by
    move mouse.
    You don't click any point right.(I mean when 2nd point) , but it can
    measure the distance . How to do it (to get 2nd coordinate by move
    mouse not through enter
    point )

    Thank you,
    Charley
     
    chentaison, Apr 5, 2009
    #7
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.