If by "points" you mean the two definition points that the Dimension measures between, try this [in simplest terms, minimally tested]:
(defun C:LDDP ; = Lines between Dimension Definition-Points
(/ ss n dim ddata)
(if (setq ss (ssget '((0 . "DIMENSION"))))
(repeat (setq n (sslength ss))
(setq
dim (ssname ss (setq n (1- n)))
ddata (entget dim)
); setq
(if (= (logand (cdr (assoc 70 ddata)) 6) 0)
;; linear/rotated/aligned, NOT angular/radius/diameter/ordinate
;; i.e. 70-code value does not contain either 2 or 4 bit
(command "_.line" ; then
"_non" (cdr (assoc 13 ddata))
"_non" (cdr (assoc 14 ddata))
""
); command
); if
); repeat
); if
(prin1)
)
It draws the Lines on the current Layer and with all current Property settings, but of course could be expanded to be more particular. And it could use some other things, like Undo begin/end wrapping.
Kent Cooper, AIA