- 积分
- 5359
- 明经币
- 个
- 注册时间
- 2004-7-13
- 在线时间
- 小时
- 威望
-
- 金钱
- 个
- 贡献
-
- 激情
-
|
发表于 2005-5-27 18:02:00
|
显示全部楼层
Public Obj As Object Public Pnt As Variant Sub test() Dim a, handle a = 20
ThisDrawing.Utility.GetEntity Obj, Pnt, vbCrLf & "选择多段线:"
Pnt=ThisDrawing.Utility.GetPoint (, vbCrLf & "指定点以确定偏移所在一侧:") '此处修改了
handle = Obj.handle ThisDrawing.SendCommand "offset" & Str(a) & vbCr & "(handent " & Chr(34) & handle & Chr(34) & ")" & vbCr & _ "(list " & Str(Pnt(0)) & Str(Pnt(1)) & Str(Pnt(2)) & ")" & vbCr & vbCr
End Sub
[glow=255,red,2]文字[/glow] |
|