这段代码又大神看得懂吗?
(progn ;;普通块
(command ".copy" e "" p0 "")
(setq e (entlast))
(getent e)
;; (modent 10 (trans p0 1 0) 41 1. 42 1. 43 1. 50 (autoe 0.))
(modent 10 p0 41 1. 42 1. 43 1. 50 0.)
(command ".explode" e)
(if (and (setq ss (htfill1 nil (getlastss e)))
(> (sslength ss) 0)
)
(progn
(ucson)
(mkublk0 na p0 ss)
(ucsoff)
(command ;;".block" na "y" p0 ss ""
".draworder" (ssget "X" (list (cons 2 na))) "" "f")
)
)
)