본문 바로가기
autocad

get a string from the text

by kmlab 2025. 1. 21.

(defun c:str ( )
(setq str (cdr (assoc 1 (entget (ssname (ssget ":s" ) 0))))
)

 

 

반응형

'autocad' 카테고리의 다른 글

get screen coordinates  (0) 2025.01.23
print dxf  (0) 2025.01.21
Copy Block Definition  (0) 2025.01.13
블럭삽입 오토스크립트  (0) 2025.01.13
Duplicate block in acad  (0) 2025.01.13