;;모든 DIMSTYLE의 선형치수 단위 형식에 "," 가 표시되게 Windows Desktop으로 일괄 지정하기
;;
(defun c:d,d()
(setq !Dimstyle (tblnext "DIMSTYLE" T))
(while !Dimstyle
(setq !Dimstyle (strcase (cdr (assoc 2 !Dimstyle))))
(command "-dimstyle" "r" !Dimstyle)
(setvar "DIMLUNIT" 6) ;Linear dimensions Unit format ;6 Windows Desktop ;2 Decimal
(command "-dimstyle" "s" !Dimstyle "y")
(setq !Dimstyle (tblnext "DIMSTYLE"))
)
(princ)
)
반응형
'autocad' 카테고리의 다른 글
| Overkill > Audit > Purge (0) | 2023.02.15 |
|---|---|
| QuitAll (0) | 2023.02.03 |
| Change Fonts of All Styles to "simplex.shx,whgtxt.shx" (0) | 2022.12.01 |
| STAIR CALCULATOR (1) | 2022.09.30 |
| Date and Time Stamping (0) | 2022.07.14 |