Hi Everyone
Is it possible to select Mtexts based on the number of characters in AutoCAD!?
Thanks
Hi Everyone
Is it possible to select Mtexts based on the number of characters in AutoCAD!?
Thanks
Hi,
yes, it should work if you are searching for by using wildcards&the whole string
???
String with 3 characters.
Should work in Filter,Qselect and Find command.
Start tests with TEXT,
because Mtext content can incl. internal formats and they are stored as part of the content.
"Hello" = ?????
But if you set the color of that "e" to a different color, the content is no longer "Hello" and ????? will not find this item.
Sebastian
Hi,
yes, it should work if you are searching for by using wildcards&the whole string
???
String with 3 characters.
Should work in Filter,Qselect and Find command.
Start tests with TEXT,
because Mtext content can incl. internal formats and they are stored as part of the content.
"Hello" = ?????
But if you set the color of that "e" to a different color, the content is no longer "Hello" and ????? will not find this item.
Sebastian
@cadffm Thanks for your response
Actually, i know what you said but I don't want to change the mtext to text because I need the backgrounds
As i said i want to select some mtexts based on number of characters
@cadffm Thanks for your response
Actually, i know what you said but I don't want to change the mtext to text because I need the backgrounds
As i said i want to select some mtexts based on number of characters
>>Actually, i know what you said "
No you doesn't
>>"but I don't want to change the mtext to text "
Nobody mentioned that. I said you should TEST with Texts.
>>"As i said i want to select some mtexts based on number of characters"
If it is okay that you have to type in ???? Instead 4
you have three solutions now.
And a Tool for selection by "4" instead ???? is pretty simple,
but I like to show how to do ootb.
Sebastian
>>Actually, i know what you said "
No you doesn't
>>"but I don't want to change the mtext to text "
Nobody mentioned that. I said you should TEST with Texts.
>>"As i said i want to select some mtexts based on number of characters"
If it is okay that you have to type in ???? Instead 4
you have three solutions now.
And a Tool for selection by "4" instead ???? is pretty simple,
but I like to show how to do ootb.
Sebastian
There might be problems with formatted Mtexts but for standard Mtext you can just use the "????" wildcards as advised, or the srxText freeware utility and its "seLect" option, with the regular expression:
^.{4}$
to find texts with 4 characters,
^\w{3,5}$
to find texts with 3-5 word characters,
^\d{6,}$
to find texts with 6 or more digits, etc.
See www.cadforum.cz tips and downloads.
Vladimir Michl, www.arkance.world - www.cadforum.cz
There might be problems with formatted Mtexts but for standard Mtext you can just use the "????" wildcards as advised, or the srxText freeware utility and its "seLect" option, with the regular expression:
^.{4}$
to find texts with 4 characters,
^\w{3,5}$
to find texts with 3-5 word characters,
^\d{6,}$
to find texts with 6 or more digits, etc.
See www.cadforum.cz tips and downloads.
Vladimir Michl, www.arkance.world - www.cadforum.cz
I gave a try to FILTER, because I like it, made it 2 seconds, it worked on a text, a mtext and even a dim !
The only topic could be: how many characters ? 😊
I gave a try to FILTER, because I like it, made it 2 seconds, it worked on a text, a mtext and even a dim !
The only topic could be: how many characters ? 😊
Can't find what you're looking for? Ask the community or share your knowledge.