GusGar
Guest
Hello, everyone.
I would like to write a lisp routine that, selected a line, the quoti with dimaligned and set the quota lines, extension and arrows "off".
I tried to write (trying to interpret the list on the net):
(defun rppt(nomeent dxf/organization p)
(setq entityta (entget nomeent)
(setq p (cdr)
)
function that obliges you to select the entity. uses entsel function.
(defun sing (prompt / a)
(while (not (setq a (entsel prompt)))
(setq a)
)
(defun c:das ()
(setq nomeent (car (sing "\nselect line: ")
(setq pt1 (rppt nomeent 10)
(setq pt2 (rppt nomeent 11)
(command "_dimaligned" pt1 pt2 pt1)
(princ)
)
(princ)but I don't know the procedure to set off lines and arrows.
help?
Thank you.
I would like to write a lisp routine that, selected a line, the quoti with dimaligned and set the quota lines, extension and arrows "off".
I tried to write (trying to interpret the list on the net):
(defun rppt(nomeent dxf/organization p)
(setq entityta (entget nomeent)
(setq p (cdr)
)
function that obliges you to select the entity. uses entsel function.
(defun sing (prompt / a)
(while (not (setq a (entsel prompt)))
(setq a)
)
(defun c:das ()
(setq nomeent (car (sing "\nselect line: ")
(setq pt1 (rppt nomeent 10)
(setq pt2 (rppt nomeent 11)
(command "_dimaligned" pt1 pt2 pt1)
(princ)
)
(princ)but I don't know the procedure to set off lines and arrows.
help?
Thank you.