- (defun c:tt ()
- (xyp-Start)
- (setvar 'CHAMMODE 0)
- (setvar 'CHAMFERA 300)
- (setvar 'CHAMFERB 300)
- (setq i -1)
- (if (setq ss (ssget '((0 . "*poly*"))))
- (while (setq s1 (ssname ss (setq i (1+ i))))
- (setq p2 (xyp-9pt s1 2)
- p6 (xyp-9pt s1 6)
- )
- (command "chamfer" p2 p6)
- )
- )
- (xyp-End)
- )
|