 - (defun c:nn ()
- (command "_undo" "be")
- (command "layer" "m" "hatch-gz-构造柱填充" "")
- (princ "\n选择要填实的柱子<退出>: ")
- (setq i -1)
- (if (setq ss (ssget '((0 . "lwpolyline,circle"))))
- (while (setq s1 (ssname ss (setq i (1+ i))))
- (command "hatch" "s" s1 "")
- (vl-cmdf "draworder" (entlast) "" "b")
- )
- )
- (command "_undo" "e")
- (princ)
- )
|