- (defun c:tt ()
- "tt(ssget根据坐标选择属性块)"
- (setq ptn '((8356.98 -3675.19 0) (8348.98 -3675.19 0))
- aa (ssadd)
- )
- (foreach pt ptn
- (if (setq ss (ssget "c"(polar pt pi 0.1)(polar pt 0 0.1)'((0 . "insert")(66 . 1))))
- (ssadd (ssname ss 0) aa)
- )
- )
- (sssetfirst nil aa)
- (princ)
- )
|