各位好想请各位老师帮忙看看下面
lsp是哪错了?我执行完程序后我再次查询群码及点击像素所显示的比例均是我更改过的比例为什么图型不会变化? 谢谢!!
(defun c:chght()
(setvar "cmdecho"0)
(setq en(entsel"选取 HATCH 图型:"))
(setq en_data(entget(car en)))
(setq hatch_list(assoc41 en_data))
(setq old_hatchscale(cdr hatch_list))
(princ "\n现有 HATCH比例=")(princold_hatchscale)
(setq new_hatchscale(getreal "\n 新的 HATCH 比例:"))
(setq new_hatch_list(cons 41 new_hatchscale))
(setq new_data(substnew_hatch_list hatch_list en_data))
(entmod new_data)
(prin1))(prompt "***************** <<C:CHGHT>>*******************")(prin1) |