- 积分
- 24557
- 明经币
- 个
- 注册时间
- 2004-3-17
- 在线时间
- 小时
- 威望
-
- 金钱
- 个
- 贡献
-
- 激情
-
|
发表于 2004-6-3 18:50:00
|
显示全部楼层
Sub test() Dim ss As AcadSelectionSet Dim pnt(2) As Double pnt(0) = 10 Set ss = ThisDrawing.ActiveSelectionSet ss.Clear Dim ft(6) As Integer, fd(6) ft(0) = 0: fd(0) = "Line" ft(1) = -4: fd(1) = "<And" ft(2) = -4: fd(2) = "=,*,*" ft(3) = 10: fd(3) = pnt ft(4) = -4: fd(4) = "=,*,*" ft(5) = 11: fd(5) = pnt ft(6) = -4: fd(6) = "And>" ss.Select acSelectionSetAll, , , ft, fd MsgBox ss.Count End Sub 选择起点和终点横坐标为10的竖线 |
|