2 getpoint's w/a line?

Discussion in 'AutoCAD' started by C Witt, Sep 17, 2004.

  1. C Witt

    C Witt Guest

    ok.. you all know how when you use the move command.. or copy.. and
    other core cad commands.. you are asked to pick 2 points.. and after
    picking the first one cad "draws" a line from there to your cursor
    location..then it is removed once the command is done.. right?..

    how can i create the same effect?..

    I am asking the user for 2 points..

    (getpoint "blah")
    (getpoint "blah2")

    and I want that hovering line to show up when asking for the 2nd point.

    please help..
     
    C Witt, Sep 17, 2004
    #1
  2. C Witt

    T.Willey Guest

    (setq pt1 (getpoint "\n Select point: "))
    (setq pt2 (getpoint pt1 "\n Select next point: "))

    Tim
     
    T.Willey, Sep 17, 2004
    #2
  3. C Witt

    C Witt Guest

    bugger. thank you.
     
    C Witt, Sep 17, 2004
    #3
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.