I can't seem to come across the way to properly filter Block References in a certain drawing in ACAD 2007.
The code below filters for all the MText properly, but when filtering for block references named "sdet" (noticed all blockes text is lower case when inserted into autocad), I keep getting a count of zero.
Does anyone have a link for all the DXF filter codes, seems that the help only gives the most common ones?
*****************
FilterType(0) = 0
FilterData(0) = "MText"
STEXT.Select(AutoCAD.AcSelect.acSelectionSetAll, , , FilterType, FilterData)
NumSTEXT = STEXT.Count
FilterType2(0) = 0
FilterData2(0) = "Block Reference"
FilterType2(1) = 2
FilterData2(1) = "sdet"
SDET.Select(AutoCAD.AcSelect.acSelectionSetAll, , , FilterType2, FilterData2)
NumSDET = SDET.Count
*************
Thanks
Wynn