(DEFUN C:DLEADER ()
(IF (SETQ PT1 (GETPOINT "\nFirst extension line origin :"))
(IF (SETQ PT2 (GETPOINT PT1 "\nSecond extension line origin :")) (PROGN
(SETQ OLDSE1 (GETVAR "DIMSE1")
OLDSE2 (GETVAR "DIMSE2"))
(SETVAR "DIMSE1" 1)
(SETVAR "DIMSE2" 1)
(COMMAND "DIMALIGNED" PT1 PT2 "T" " " PT2)
(SETVAR "DIMSE1" OLDSE1)
(SETVAR "DIMSE2" OLDSE2)
))
)
(PRINC)
)
用引线就可以做了! <A href="http://bbs.mjtd.com/forum.php?mod=viewthread&tid=28314" target="_blank" >http://bbs.mjtd.com/forum.php?mod=viewthread&tid=28314</A>
我做的是单箭头..要用双箭头也一样.仔细看程序.上面的朋友说得没错.用多段线生成很方便... pline线不是有宽度调整吗,一端设定一个宽度,另一端宽度设为0
就出来了 要是俺画两箭头的直线的话,俺会先画一条直线,然后用标注里面的引线从直线的一个端点画到中点,再重复引线从直线的另一个端点画到中点.ok
页:
1
[2]