- 积分
- 244
- 明经币
- 个
- 注册时间
- 2004-5-9
- 在线时间
- 小时
- 威望
-
- 金钱
- 个
- 贡献
-
- 激情
-
|
楼主 |
发表于 2004-6-8 17:52:00
|
显示全部楼层
不好意思,再问一下
我这样来写的
Dim oSelectionSet As AcadSelectionSet Dim aFilterType(0) As Integer Dim aFilterData(0) As Variant Dim aCorner1(0 To 2) As Double Dim aCorner2(0 To 2) As Double aCorner1(0) = -10000: aCorner1(1) = -10000: aCorner1(2) = 0 aCorner2(0) = 10000: aCorner2(1) = 10000: aCorner2(2) = 0 Set oSelectionSet = acadDoc.SelectionSets.Add("SS4") aFilterType(0) = 0 aFilterData(0) = "Block Reference" aFilterType(1) = 2 aFilterData(1) = "tb*" oSelectionSet.Select acSelectionSetAll, aCorner1, aCorner2, aFilterType, aFilterData
总是获得不了我想要的Block Reference,获得其它的Text,Line没有问题,
aFilterData(0) = "Block Reference"到底该怎么写呢?我试过很多种写法了
谢谢!
|
|