I need to select (filter) 'Text' & 'Mtext' in selectonscreen method

I need to select (filter) 'Text' & 'Mtext' in selectonscreen method

Anonymous
Not applicable
1,102 Views
2 Replies
Message 1 of 3

I need to select (filter) 'Text' & 'Mtext' in selectonscreen method

Anonymous
Not applicable
I need to select (filter) 'Text' & 'Mtext' by selectonscreen method. I know how to select only text or only mtext in selectonscreen method.

Please can anybody help in this matter

Thanks in advance
joby
0 Likes
1,103 Views
2 Replies
Replies (2)
Message 2 of 3

Anonymous
Not applicable
Use something like this one:

Dim ss as acadselectionset
dim ftype(0) as integer
dim fdata (0) as variant
ftype(0)=0
fdata(0)="*TEXT" ' or fdata(0)="TEXT,MTEXT"
Set ss = ThisDrawing.SelectionSets.Add("SSetName")
If Err.Number <> 0 Then
Set ss = ThisDrawing.SelectionSets.Item("SSetName")
End If
ss.selectonscreen ftype,fdata

ETC
0 Likes
Message 3 of 3

Anonymous
Not applicable
You would have got the same answer Fatty posted if you spent a few minutes
on the page I sent you. You didn't even have to leave the first page.
wrote in message news:5708521@discussion.autodesk.com...
I need to select (filter) 'Text' & 'Mtext' by selectonscreen method. I know how to select only text or only mtext in
selectonscreen method.

Please can anybody help in this matter

Thanks in advance
joby
0 Likes