Export Elevation Profile From Google Earth To Autocad π π
(defun c:pts2pline () (setq ss (ssget '((0 . "POINT")))) (setq i 0 plist nil) (repeat (sslength ss) (setq ent (ssname ss i) pt (cdr (assoc 10 (entget ent))) plist (cons pt plist)) (setq i (1+ i))) (setq plist (reverse plist)) (command "3DPOLY") (foreach p plist (command p)) (command "")) Then type PTS2PLINE and select all points. Use a SCR script file. Create a .scr file with:
Save this as pts2pline.lsp and load via APPLOAD : export elevation profile from google earth to autocad
X, Y, Z Easting, Northing, Elevation Remove header rows. Example content: (defun c:pts2pline () (setq ss (ssget '((0


