Please give me program lisp for to put dimension (dimlinear) in my program,I want learn it.don't add user input to select extention line,I mean autolisp automatic do it,thanks for your help Best regards Ade Suharna ; md is stand for making dimension ; Design by Ade Suharna ; 2 August 2004 ; edit by (defun dtr (a) (* pi (/ a 180.0))) (defun c:md (/ ) (setq oldosmode (getvar "osmode")) ; get osmode setting (setvar "osmode" 0) ; osmode set to 0 (setq oldcmdecho (getvar "cmdecho")) ; get cmdecho setting (setvar "cmdecho" 0) ; cmdecho set to 0 (vl-load-com) (setq p1 (list 0 0) p2 (list 10 0) p3 (list 10 15) p4 (list 0 15)) (command "_line" p1 p2 p3 p4 "c" "") (setvar "osmode" oldosmode) ; return setting (setvar "cmdecho" oldcmdecho) ; return setting (princ) (command "_redraw") )