本帖最后由 raimo 于 2011-6-5 23:46 编辑
caoyin 发表于 2011-6-5 16:16 
(defun c:aaa ()
(if (ssget '((0 . "LEADER")))
(vlax-for obj
多谢C版,这就是我想要的了..虽然还差了一点点,到这个程度我就能改了. - ;快速切换引线箭头样式..
- (defun c:ee()
- (if (ssget)
- (vlax-for obj
- (vla-get-ActiveSelectionSet
- (vla-get-ActiveDocument (vlax-get-acad-object))
- )
- (if (zerop (vla-get-ArrowheadType obj))
- ((vla-put-ArrowheadType obj 3) (vla-put-ArrowheadSize obj 1))
- ((vla-put-ArrowheadType obj 0) (vla-put-ArrowheadSize obj 2))
- )
- )))
|