Message 1 of 7
Selection set filtering

Not applicable
10-13-2005
01:51 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
trying to erase all text or mtext on layer HL-TMP or HL-TMP2. Here is what I am using:
INTcode(0) = -4: VARvalue(0) = "
INTcode(1) = 0: VARvalue(1) = "TEXT"
INTcode(2) = 0: VARvalue(2) = "MTEXT"
INTcode(3) = -4: VARvalue(3) = "OR>"
INTcode(4) = -4: VARvalue(4) = "
INTcode(5) = 8: VARvalue(5) = "HL-TMP"
INTcode(6) = 8: VARvalue(6) = "HL-TMP2"
INTcode(7) = -4: VARvalue(7) = "OR>"
Set ss1 = ThisDrawing.SelectionSets("Test")
If Err Then
Err.Clear
Set ss1 = ThisDrawing.SelectionSets.Add("Test")
End If
ss1.Clear
ss1.Select acSelectionSetAll, , , INTcode, VARvalue
ss1.Erase
but ss1 doesn't contain anything. Any ideas?
INTcode(0) = -4: VARvalue(0) = "
INTcode(2) = 0: VARvalue(2) = "MTEXT"
INTcode(3) = -4: VARvalue(3) = "OR>"
INTcode(4) = -4: VARvalue(4) = "
INTcode(6) = 8: VARvalue(6) = "HL-TMP2"
INTcode(7) = -4: VARvalue(7) = "OR>"
Set ss1 = ThisDrawing.SelectionSets("Test")
If Err Then
Err.Clear
Set ss1 = ThisDrawing.SelectionSets.Add("Test")
End If
ss1.Clear
ss1.Select acSelectionSetAll, , , INTcode, VARvalue
ss1.Erase
but ss1 doesn't contain anything. Any ideas?