Start and End Point of a Line

Discussion in 'AutoCAD' started by Scott, Sep 10, 2003.

  1. Scott

    Scott Guest

    Hi,

    I have a lisp routine that lets the user select a single line using the
    ssget function. Is there a way to obtain the start and end coorinates of
    the selected line using lisp?

    Thanks for the help!
     
    Scott, Sep 10, 2003
    #1
  2. Scott

    Mark Propst Guest

    look at help for DXF codes
    (cdr (assoc 10 ...
    (cdr (assoc 11 ...
    etc
    you'll be needing a lot more than start and endpoints as you progress with
    your lisp studies

    theres' also vla-get-startpoint and vla-get-endpoint
    lots of homework to do!
     
    Mark Propst, Sep 10, 2003
    #2
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.