Autocad lisp contour labels

broken image

(setq str (itoa(ade_odgetfield ent (ade_odgettables ent) 'ELEVATION' 0)))) ((ade_odgetfield ent (ade_odgettables ent) 'ELEVATION' 0) (setq str (itoa(ade_odgetfield ent (car(ade_odgettables ent)) 'ELEV' 0)))) ((ade_odgetfield ent (car(ade_odgettables ent)) 'ELEV' 0) (setq Rot (getangle pt '\nPick or Enter angle.' ) (setq pt (getpoint'\nSelect point on Contour Line: ') (setq mspace (vla-get-modelspace (vla-get-activedocument (vlax-get-acad-object))) (defun c:ContourAnnotate (/ mspace om osz e ent pt tblname Rot str mtextobj ent el) (load 'ContourAnnotate.lsp') ContourAnnotate LEON COUNTY PUBLIC WORKS SURVEY & R/W SECTION

broken image