 - ;; 块名引线标注 伪源码需要e派工具箱(XCAD)的支持
- (defun c:tt ()
- (CMDLA0)
- (setq ss (ssget '((0 . "insert")))
- i -1
- )
- (while (setq s1 (ssname ss (setq i (1+ i))))
- (setq bn (xyp-get-dxf 2 s1)
- pt (xyp-get-dxf 10 s1)
- s2 (xyp-Text 5 (xyp-get-Pt2XY pt 1000 1000) bn)
- )
- (xyp-Leader s2 pt 0 0)
- )
- (CMDLA1)
- )
|