- (defun c:tt ()
- (if (setq ss (ssget "X" '((0 . "*LINE,ARC,CIRCLE,ELLIPSE"))))
- (if (setq lst (vl-remove-if
- '(lambda (x) (> (xyp-CurveLength x) 0))
- (xyp-ss2list ss)
- )
- )
- (progn
- (setq ss (xyp-list2ss lst))
- (xyp-MkLaCo "短线" 1)
- (xyp-SubUpd ss 8 "短线")
- (sssetfirst nil ss)
- )
- )
- )
- )
|