- 积分
- 6939
- 明经币
- 个
- 注册时间
- 2004-4-9
- 在线时间
- 小时
- 威望
-
- 金钱
- 个
- 贡献
-
- 激情
-
|
发表于 2004-6-10 20:25:00
|
显示全部楼层
楼主:这段代码第二行Dim定义掉了一个变量,估计是i
Public Property Get EndPoint() As Variant
Dim retval As Variant, pt(0 To 2) As Double dim As Long With objVLAX .SetLispSymbol "handle", mvarEntity.Handle .EvalLispExpression "(setq lst (vlax-curve-getEndPoint (handent handle)))" retval = .GetLispList("lst") .NullifySymbol "handle", "lst" End With For i = 0 To 2 pt(i) = retval(i) Next EndPoint = pt
End Property
|
|