将选择集中不不是当前空间中的对象去除
来源:互联网 发布:淘宝能更改实名认证吗 编辑:程序博客网 时间:2024/04/29 12:40
'*************将选择集中不不是当前空间中的对象去除********************
Public Sub FilterLayout(ByRef ss As ZcadSelectionSet, ByRef layoutName As String)
Dim max As Integer
Dim objArray() As ZcadEntity
max = -1
Dim i As Short
For i = 0 To ss.Count - 1
If LCase(ThisDrawing.ObjectIdToObject(ss.Item(i).OwnerID).Layout.Name) <> LCase(layoutName) Then
max = max + 1
ReDim Preserve objArray(max)
objArray(max) = ss.Item(i)
End If
Next
ss.RemoveItems(objArray)
End Sub
Public Sub FilterLayout(ByRef ss As ZcadSelectionSet, ByRef layoutName As String)
Dim max As Integer
Dim objArray() As ZcadEntity
max = -1
Dim i As Short
For i = 0 To ss.Count - 1
If LCase(ThisDrawing.ObjectIdToObject(ss.Item(i).OwnerID).Layout.Name) <> LCase(layoutName) Then
max = max + 1
ReDim Preserve objArray(max)
objArray(max) = ss.Item(i)
End If
Next
ss.RemoveItems(objArray)
End Sub
- 将选择集中不不是当前空间中的对象去除
- jQuery参考实例 1.8 将前一次选择的元素集合并到当前选择的元素集中
- 【C++】去除数组中的某数且不使用额外空间
- oracle导入表空间不是当前表空间
- 对java中以对象方式将对象的参数将其各属性值中的空格去除
- 将一句话中的单词进行倒换,标点符号不倒换,要求不使用辅助空间
- 去除集合中的重复对象
- 去除对象中的类型集合
- 去除list中的重复对象
- 去除LIST中的重复对象
- Revit编程把对象加入到选择集中
- Java将org.w3c.dom.Element对象转换成xml字符串并且不带命名空间
- 去除List集合中的重复对象,去除对象!
- 选择网页中的对象
- 将项目中的所有AJAX 集中到一起处理
- C#去除字符串中的不可见内容
- python实现不使用额外空间去除重复元素
- js获取当前选择的对象
- web编程2--用户注册之日期控件,验证码
- *** non-numeric second argument to `wordlist' function: ''. Stop错误解决办法
- jetty环境搭建备忘
- Jqgrid入门-Jqgrid设置二级表头(六)
- 动态地改变Python搜索路径
- 将选择集中不不是当前空间中的对象去除
- 通过HttpUrlConnection post
- 数学之路(3)-机器学习(3)-机器学习算法-神经网络[3]
- 简单有力的一招教你摆脱拖延症
- 程序猿的道路~~(How to be a programmer?)
- IOS设计模式学习(19)策略
- EasyUI 动态添加tabs
- linux 静态库 动态库 编译C程序
- 最长的连续子串,其中0和1的个数相等