Angelo2449
Guest
Hello everyone,
I wrote this short code that extracts the text from a string present in the drawing:
I would like that, in addition to a single line of text, the program can also extract a text contained in a block.
I tried to select a multiriga text block, but only one part is copied.
Dudes.
I wrote this short code that extracts the text from a string present in the drawing:
Code:
(defun c:copiatesto (/ txt1 fp1)
(setq ed1 nil)
(while (= ed1 nil)
(setq ed1 (entsel "\nseleziona un testo"))
);;while
(setq ed1 (entget (car ed1)))
(setq txt1 (cdr (assoc 1 ed1)))
(princ "\n")
(princ "txt1 >>>>> ")
(princ txt1)
(princ "\n")
);;defun
I tried to select a multiriga text block, but only one part is copied.
Dudes.