bustr Posted November 16, 2021 Share Posted November 16, 2021 (edited) NEVER MIND. PROBLEM SOLVED. I have been using the attached lisp to locate and replace strings of text. It works fine on single line text and attributes but not on MTEXT. Can someone take a look and let me know how to modify it? I'm not a programmer. All I know how to do is fill in the old and new text. ThanksREPLACER.lsp Edited November 16, 2021 by bustr Quote Link to comment Share on other sites More sharing options...
mhupp Posted November 16, 2021 Share Posted November 16, 2021 Update line 38 (setq ss_txtlines (ssget "x" '((0 . "*TEXT")))) also might want to look at this. http://www.lee-mac.com/bfind.html 1 Quote Link to comment Share on other sites More sharing options...
bustr Posted November 16, 2021 Author Share Posted November 16, 2021 Thanks! Quote Link to comment Share on other sites More sharing options...
BIGAL Posted November 17, 2021 Share Posted November 17, 2021 Does the FIND command not work for you ? 1 Quote Link to comment Share on other sites More sharing options...
bustr Posted November 18, 2021 Author Share Posted November 18, 2021 Yes. I've found a solution. Thanks. Quote Link to comment Share on other sites More sharing options...
nhatch Posted February 7, 2023 Share Posted February 7, 2023 On 11/18/2021 at 5:30 AM, bustr said: may i ask what the solution is Quote Link to comment Share on other sites More sharing options...
bustr Posted February 8, 2023 Author Share Posted February 8, 2023 On 2/7/2023 at 11:30 AM, nhatch said: I use the attached script and lisp. Just open the script and enter the new value followed by the old value and an empty line. TXTREPLACE.SCR TXTREPLACE.LSP 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.