请有人知道从下面的代码中选择的对象的数量是否有限制?
如果我的报价超过14600,有任何已知的限制吗?以后我要修改每一层!。
谢谢
- ThisDrawing.SelectionSets.Add ("BOM1")
- Set Ssnew1 = ThisDrawing.SelectionSets("BOM1")
- Ssnew1.Select acSelectionSetAll
- For Each Entity1 In Ssnew1
- On Error Resume Next
- If Entity1.Layer = MyNome(i - 1) Then
- If Entity1.Layer <> "0" Then
- Entity1.Layer = MyNome(i) 'array containing the list of array.
- Debug.Print Entity1.Layer, Conteggio
- Conteggio = Conteggio + 1
- End If
- End If
- Next
|