Hello All!!! I did a routine to do brackets automaticly who I use frequently in my drawings, but it functioning sometimes is not correct, principally when I'm zoom out in drawing...the result is a straight line. I really don't know what happens. I use ACAD2k and Win XP. The routine is: (if (not dtr) (load "dtr")) (defun c:pared (/ p1 p2 p3 p4 p5 p6 osm) (setq osm (getvar "osmode")) (setvar "osmode" 1) (setvar "orthomode" 0) (setq p1 (getpoint " Final Point of Upper Line.") p2 (getpoint " Final Point of Lower Line.") p3 (polar p1 (dtr 90) 2) p4 (polar p2 (dtr 270) 2) p5 (polar p1 (dtr 0) 2) p6 (polar p2 (dtr 0) 2) ) (command "pline" p3 "w" "0" "" p5 p6 p4 "") (setvar "orthomode" 1) (setvar "osmode" osm) (princ) ) Thanks in advance. Joar