Contour Lisp Autocad

Jul 21, 2006Contour Lisp Autocad

I need a routine that one can select a fence or a path along a whole lot of contours which are not in 3DPoly but rather a heavyweight POLYLINE and then have the Z value (elevation of this polyline) printed over the contour preferably along the direction of the vertex picked.
I have something right now that works by selecting individual plines but I need one you can select a whole lot and have the text inserted at the correct position.
See my simple code below:
;THIS IS FOR LABELLING 3D CONTOURS
(defun C:3DC ()
(graphscr)
(setq p (entsel '
Select CONTOUR to label: '))
(setq e (entget (car p)))
(setq e1 (entget (entnext (cdr (assoc -1 e)))))
[code]....

Free Download Lisp Autocad

For Architectural Draftspersons. This demonstrates an Autocad Autolisp routine that takes two given levels on a site plan and calculates where the contour li. Contour Lines Lisp software, free downloads. Contour Lines Lisp shareware, freeware, demos: Terrain Tool for AutoCAD by llandsoftcom, FlashMNT by DeliCAD, RTOPO by Rcad Software etc.