|
发表于 2008-12-17 00:24:13
|
显示全部楼层
来自: 中国
- Sub A()
+ \9 Q) w8 i5 G2 W: q' d: w/ S. m - Dim L As AcadLine, P1(2) As Double, P2(2) As Double
4 G9 O% K1 u# t - - R8 U/ Y4 t) |# c
- On Error Resume Next
3 b; {1 t8 _& t - With ThisDrawing
V. }1 e: P4 v+ }2 x8 C$ R - .Linetypes.Load "CENTER", "acad.lin"5 l! Z9 a2 }0 C9 T _; ^
- P2(0) = 100
G; G) R' |1 @+ A. M$ x U4 I - Set L = .ModelSpace.AddLine(P1, P2)
) n0 U- M# H- r. d& q) E8 Y( R+ ? - L.Linetype = "CENTER"! U# x- |( |' I; S. D* m$ Y4 [0 [# d
- End With
" D% i7 n) I. N6 V9 u1 } - End Sub
复制代码 |
评分
-
查看全部评分
|