更好的方法是将其制作成序列
(defun c:cleanmy ()
(if (not _objecttobylayer)(load "drawingbylayer")) ; loads ronjonp code
(while (setq ss (ssget "X" ))
(sssetfirst nil ss)
(C:Burst)
)
(c:drawingtobylayer) ; runs ronjonp code
; overkill goes here
(command "-purge" "all" "*" "n")
)
页:
1
[2]