Message 1 of 10

Not applicable
01-15-2018
09:41 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I'm trying to select all blocks on all layers using selection sets. My code is something like this:
ThisDrawing.SelectionSets.Item("VBA").Delete
Set selecao_blocos = ThisDrawing.SelectionSets.Add("VBA")
gpcode(0) = 8: datavalue(0) = "*"
gpcode(1)=????: datavalue(1)=???
selecao_blocos.Select acSelectionSetAll, , , gpcode, datavalue
As you can see I'm already selecting all layers. Now what do I have to put on gpcode a datavalue to select all blocks on the drawing?
Solved! Go to Solution.