;;152.1 [功能] 局部重生 by Lee Mac
;;示例 (MJ:Update (entget (car(entsel))))
(defun MJ:Update (enlist)
(entupd (cdr (assoc -1 enlist)))
)
;;[功能]简单图元更新
;;示例 (Update (car(entsel)))
 - (defun Update (e)
- (entmod (cons -1 e))
- )
;;选择单行文字(Update (car(entsel)) '((62 . 2) (1 . "31")))
 - (defun Update (e Lst)
- (cond (Lst (entmod (cons (cons -1 e) Lst)))
- (T (entmod (cons -1 e)))
- )
- )
|