Community
AutoCAD Forum
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to find/replace multiline text

11 REPLIES 11
Reply
Message 1 of 12
iCs-tna
592 Views, 11 Replies

How to find/replace multiline text

command: find

 

Is it possible to find multiline text (MTEXT) and replace it with a mtext?

11 REPLIES 11
Message 2 of 12
Valentin-WSP
in reply to: iCs-tna

@iCs-tna ,

 

Do a QSELECT and use the Express > Text > Convert to MText

ValentinWSP_0-1641983360766.png

 

 

 

ValentinWSP_0-1641983070028.png

 



Please select the "Accept as Solution" button if my post solves your issue or answers your question.


Emilio Valentin
Message 3 of 12
imadHabash
in reply to: iCs-tna

Hi,

You can replace multi-line text with text , But after that you can convert this modified text to mtext by TXT2MTXT (Command) .

 

Imad Habash

EESignature

Message 4 of 12
iCs-tna
in reply to: Valentin-WSP

I guess you misunderstood

by using the command find/replace I want to replace a multiline text by another multiline text.

e.g. I have 10 mtext with a MTEXT "dog cat" and I want to replace it with "mouse bird":

                                                      iCstna_1-1641983829987.png                             iCstna_2-1641983893175.png

 

 

 

 

 

iCstna_0-1641983689674.png

 

Message 5 of 12
imadHabash
in reply to: iCs-tna

>> I want to replace a multiline text by another multiline text.

It's Not applicable . 

Imad Habash

EESignature

Message 6 of 12
Valentin-WSP
in reply to: iCs-tna

@iCs-tna ,

 

This is only possible if there is no ENTER or BREAK between the words.



Please select the "Accept as Solution" button if my post solves your issue or answers your question.


Emilio Valentin
Message 7 of 12
maratovich
in reply to: iCs-tna

Maybe this will help you - AutoReplaceCAD 

---------------------------------------------------------------------
Software development
Automatic creation layouts and viewport. Batch printing drawings from model.
www.kdmsoft.net
Message 8 of 12
ChicagoLooper
in reply to: iCs-tna

Yes, you can use FIND command to search for dog cat,then once found, replace it with mouse bird. Here's a video that demonstrates how it's done.

 

To watch the video, click >>HERE<<.

 

101.jpg

Chicagolooper
Message 9 of 12
Kent1Cooper
in reply to: ChicagoLooper


@ChicagoLooper wrote:

Yes, you can use FIND command to search for dog cat,then once found, replace it with mouse bird. ....


... provided the two lines in the Mtext are the result of word wrapping based on the width of the Mtext "box."  If they are the result of an Enter/hard-return/line-feed, see Message 6 from @Valentin-WSP .

Kent Cooper, AIA
Message 10 of 12
ChicagoLooper
in reply to: Kent1Cooper

Of course that's true, but who said the OP has a hard return?

The OP said 10 instances of dog cat. See post #4. If there's a hard return then do it twice, first time for dog and second time for cat.

Chicagolooper
Message 11 of 12
s.borello
in reply to: iCs-tna

Yes.

Message 12 of 12
Kent1Cooper
in reply to: ChicagoLooper


@ChicagoLooper wrote:

Of course that's true, but who said the OP has a hard return?  .... See post #4. ....


No one said they did, but we surmised the possibility, and wanted them to know of its effect on the issue.  That's why Message 6 contains, and the second sentence in Message 9 starts with, "if."

 

Looking at the dog/cat image in Message 4, since it shows the width of the Mtext box, it looks very possible, [though it's close] that if there were no hard return involved, that content would fit in that width, and would not have word-wrapped to two lines.

Kent Cooper, AIA

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Forma Design Contest


AutoCAD Beta