How can I change the attribute text inside a block using autolisp ?

How can I change the attribute text inside a block using autolisp ?

Anonymous
Not applicable
305 Views
1 Reply
Message 1 of 2

How can I change the attribute text inside a block using autolisp ?

Anonymous
Not applicable

I'm remaking my question because I probably asked it the wrong way on the fist time. So I have a routine that inserts a block on the drawing and then asks for the user for a certain distance, and I plan to use the collected distance to modify a attribute text within the block. So far I have this:

 

(defun c:ss7()
(setq *error* xx:Error)
(command "insert" "SINAL. SAIDA DE EMERGENCIA 7" pause "" "" pause "")
(prompt "Chegou aqui")
(setq point1 (getpoint "\nSelecione aonde a sinalizacao foi colocada"))
(prompt "Chegou aqui")
(setq dist (getdist point1 "\nSelecione o ponto de observacao mais distante\n"))
(cond ((> dist 40)

(*here hopefully goes the code you guys are going to teach me*)
0 Likes
306 Views
1 Reply
Reply (1)
Message 2 of 2

Anonymous
Not applicable

hi,

 

just see the below forum

 

https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/change-text-width-of-text-inside-all...

 

Thanks and Regards,

Hari Nair [Master From Lost Nalanda]

Facebook|Youtube|Gmail

 
 
0 Likes