试图避免UCs更改
但不起作用
- (defun C:Mll ( / thePoint label1st label2nd moveSet entList)
- (while t
- (if (and (setq thePoint (getpoint "\nInsertion point: "))
- (setq label1st (car (entsel))
- label2nd (car (entsel))))
- (progn
- (setq thePoint (trans thePoint 1 0))
- (foreach moveSet (list (list label1st 300.0 0.0)
- (list label2nd 300.0 400.0))
- (setq entList (entget (car moveSet)))
- (entmod (subst (list '10 (+ (car thePoint) (cadr moveSet)) (+ (cadr thePoint) (caddr moveSet)) (caddr thePoint))
- (assoc 10 entList)
- entList))
- )
- )
- )
- )
- (princ)
- )
|