TheSwamp

CAD Forums => CAD General => Topic started by: Evangelos on March 14, 2023, 06:02:12 AM

Title: Batch Find & Replace Text AutoCAD 2023
Post by: Evangelos on March 14, 2023, 06:02:12 AM
Hello Everybody !
I am looking for LISP to Batch Find & Replace Text/Attributes/Mtext, BFind from Lee not working on AutoCAD 2023. Any idea ? Thanks a lot !
Title: Re: Batch Find & Replace Text AutoCAD 2023
Post by: JohnK on March 14, 2023, 08:26:30 AM
I like this one. https://www.theswamp.org/index.php?topic=4591.msg605179#msg605179
Title: Re: Batch Find & Replace Text AutoCAD 2023
Post by: Evangelos on March 14, 2023, 10:43:18 AM
I like this one. https://www.theswamp.org/index.php?topic=4591.msg605179#msg605179

Thank you for answering...but how works this routine ?
Title: Re: Batch Find & Replace Text AutoCAD 2023
Post by: JohnK on March 14, 2023, 10:51:23 AM
Load the lisp file with APPLOAD.
Type (on the command line): (txtfind "OLDtext" "NEWtext")
Title: Re: Batch Find & Replace Text AutoCAD 2023
Post by: Evangelos on March 14, 2023, 11:03:54 AM
Not working too (AutoCAD 2023)
Title: Re: Batch Find & Replace Text AutoCAD 2023
Post by: JohnK on March 14, 2023, 11:06:20 AM
Would you be a little more specific. That code would work in R14 as well as it would in AutoCAD for Mac. How is it (or other functions) not working?
Title: Re: Batch Find & Replace Text AutoCAD 2023
Post by: Evangelos on March 14, 2023, 11:09:32 AM
...the routine did not replace any text ! I try in a new empty DWG and working just fine !
Title: Re: Batch Find & Replace Text AutoCAD 2023
Post by: 3dwannab on July 07, 2023, 06:11:47 PM
I had this problem. I opened the file in my IDE, VS code and it formatted it.

Try downloading the file again from his site.