; at is stand for align text ; Design by Ade Suharna ; 15 September 2004 ; idea from BillZ <>9/10/2004 ; edit by (defun c:at (/ ent opt) (vl-load-com) (setq ent1 (vlax-ename->vla-object (car (entsel " SELECT TEXT: ")))) (prompt "LEFT=0 CENTER=1 RIGHT=2 ALIGN=3 MIDDLE=4 FIT=5") (setq opt (fix (getreal " ENTER NUMBER FOR TEXT ALIGN: "))) (vla-put-Justify ent1 opt) (princ) ) I've got idea from BillZ,to change align text by use vla function,my code not yet work,I don't know what wrong this program,can you help me to correct it,thanks.