자료실 Q&A
글 수 2,318
||||(DEFUN C:gr () (command "limits" "0,0" "841 x dimscale , 594 x dimscale" "grid" "a" "10 x dimscale"))
이런 리습 만들고 싶은데요
x dimscle하는 법을 모르겠습니다.
되도록이면 빨리좀 알고 싶어요....
부탁해요~
이런 리습 만들고 싶은데요
x dimscle하는 법을 모르겠습니다.
되도록이면 빨리좀 알고 싶어요....
부탁해요~
(setq ds (getvar "dimscale"))
(setq x1 (* 841 ds)
y1 (* 594 ds))
(setq xy (list x1 y1))
(command "limits" "0,0" xy)
(command "grid" "a" (* 10 ds) (* 10 ds))
)