- 积分
- 24557
- 明经币
- 个
- 注册时间
- 2004-3-17
- 在线时间
- 小时
- 威望
-
- 金钱
- 个
- 贡献
-
- 激情
-
|
发表于 2005-2-1 13:18:00
|
显示全部楼层
Sub tta() On Error Resume Next Dim i As AcadEntity Dim ss As AcadSelectionSet ThisDrawing.SelectionSets("Test").Delete Set ss = ThisDrawing.SelectionSets.Add("Test") Dim ft(1) As Integer, fd(1) ft(0) = 0: fd(0) = "*Text" ft(1) = 1: fd(1) = ThisDrawing.Utility.GetString(True, vbCr & "请输入指定字符串:") ss.Select acSelectionSetAll, , , ft, fd For Each i In ss '在这里处理
Next i End Sub
|
|