bustr Posted November 16, 2021 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
mhupp Posted November 16, 2021 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
BIGAL Posted November 17, 2021 Posted November 17, 2021 Does the FIND command not work for you ? 1 Quote
bustr Posted November 18, 2021 Author Posted November 18, 2021 Yes. I've found a solution. Thanks. Quote
nhatch Posted February 7, 2023 Posted February 7, 2023 On 11/18/2021 at 5:30 AM, bustr said: may i ask what the solution is Quote
bustr Posted February 8, 2023 Author 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
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.