Coord lisp routine

Discussion in 'AutoCAD' started by Paul, Nov 25, 2003.

  1. Paul

    Paul Guest

    Does anybody have a lisp routine to select coordinates on screen and
    have the coordinate inserted into the drawing as mtext or better to
    save the coordinates to an external text file. If so I would
    appreciate being sent in the correct direction.

    Thanks
    Paul
     
    Paul, Nov 25, 2003
    #1

  2. coordonnees du point: (getpoint) --> (x y z)

    dans un fichier:

    (setq file (open "nom_du_fichier" "a"))
    (print (getpoint) file)
    (close file)

    not tested
     
    Bruno Lintermans, Nov 25, 2003
    #2
  3. There's a routine on my site that you could easily modify called HowHi.LSP
    It draws a leader and inserts the Y coordinate into the leader text.
     
    Michael Bulatovich, Nov 25, 2003
    #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.