sky929 Posted August 2, 2020 Share Posted August 2, 2020 Hi all , Before >>>> after Line 1 >>>> Line1 Line 2 >>>> Line3 (Line3) >>>> (Line2) Mtext use Autolisp can do it ? Thank You Quote Link to comment Share on other sites More sharing options...
pkenewell Posted August 3, 2020 Share Posted August 3, 2020 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. Quote Link to comment Share on other sites More sharing options...
sky929 Posted August 4, 2020 Author Share Posted August 4, 2020 Sorry, my English is poor The second line of text and the third line of text are interchanged except parentheses in Mtext Thank you Quote Link to comment Share on other sites More sharing options...
pkenewell Posted August 4, 2020 Share Posted August 4, 2020 (edited) 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 August 4, 2020 by pkenewell Quote Link to comment Share on other sites More sharing options...
Wan Posted November 3, 2023 Share Posted November 3, 2023 Hi, I think the solution is based on the script to remove space. Here you go. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.