(defun c:ttm()
(prompt “njustify text middle”)
(setq a(ssget ‘((0 . “text”))))
(command “justifytext” a “” “m”)
(princ)
) ;if
(defun c:ttl()
(prompt “njustify text left”)
(setq a(ssget ‘((0 . “text”))))
(command “justifytext” a “” “l”)
(princ)
) ;if
(defun c:ttr()
(prompt “njustify text rihgt”)
(setq a(ssget ‘((0 . “text”))))
(command “justifytext” a “” “r”)
(princ)
) ;if
———–텍스트 자리맞춤 리습인데요
현재 저렇게 로드를하면 글자 기준점이 그냥 왼쪽/중간/오른쪽
이렇게 정의가 되있는데
중간왼쪽/중간중심/중간오른쪽
이렇게 리습을 수정할수있나요 ?
중간왼쪽 ==>ML
중간중심 ==>MC
중간오른쪽 ==> MR
(defun c:ttm()
(prompt “njustify text middle“) ===> 중간 고쳐쓰세요
(setq a(ssget ‘((0 . “text”))))
(command “justifytext” a “” “m“) ===> M (중간) 고쳐쓰세요
(princ)
) ;if
자리맞춤 옵션 입력
[왼쪽(L)/정렬(A)/맞춤(F)/중심(C)/중간(M)/오른쪽(R)/맨위왼쪽(TL)/맨위중심(TC)/맨위오른쪽(TR)/중간왼쪽(ML)/중간중심(MC)/중간오른쪽(MR)/맨위왼쪽(BL)/맨위중심(BC)/맨위오른쪽(BR)]
리습들 끝자락에 보이는 “m”) “l”) “r”)
를 ml mc mr 로 하시면 되겠네요.
감사합니다