Jump to content
sky929

Multitext change

Recommended Posts

sky929

Hi all , 

Before >>>>    after

Line 1  >>>>   Line1

Line 2 >>>>    Line3

(Line3) >>>> (Line2)

Mtext

use Autolisp can do it ? Thank Youchange.thumb.png.ace6f6454494229a083d0566931dac5a.png

Share this post


Link to post
Share on other sites
pkenewell

Have you tried the built-in FIND command, which has a find and replace feature? Just do those steps 1 at a time with the FIND command.

Share this post


Link to post
Share on other sites
sky929

Sorry, my English is poor

The second line of text and the third line of text are interchanged except parentheses in Mtext
Thank you

Q.png

Share this post


Link to post
Share on other sites
pkenewell

1) Start the FIND command.

2) Search for all the XXXX and replace with ZZZZ ("ZZZZ" could be any unique string)

3) Search for all the YYYY and replace with XXXX

4) search for all the ZZZZ and replace with YYYY

Edited by pkenewell

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...