Search the Community
Showing results for tags 'find and replace'.
Found 4 results
Hey all, I am trying to change some text in my cad file, but when I try to use the wild card in my search, nothing shows up. (attached screenshots are an example of what I'm seeing) Any insight into this would be greatly appreciated. Thanks, JT
ok, i'm sorry if this has been asked before but i couldn't find it. I recently moved from autocad 2008 to 2012. my machine intel Xeon E5-1603 @ 2.8GHz 32GB mem win 7 64bit dual V4900 AMD vid cards autocad 2012 so my issue is this (and i have only found one other person asking about this) when i do a find/replace command it happens lickity split, but when i click "done" to exit it takes forever to close (about 6-10 seconds). In acad08 on my 32 machine it was instant. So what i have realized is that it's doing a regen at the exit. So i guess my question is, can i turn off the autoregen after i close the find/replace dialog box? my REGENMODE is currently . If that can't be done, is there another way to find/replace so that it doesn't do a regen after words?
djeetn069 posted a topic in AutoLISP, Visual LISP & DCLI'm trying to find a lisp routine that searches the current drawing for a certain string and replaces that with the string of a variable already defined by the user (in this case the text to look for is "****" and the variable is called "offerte"). Not only in the Text, Mtext but also in the Blocks, Dynamic blocks, attributes and fields... Following code gets the job done but only for normal Text and Mtext. (defun tekstreplace (/ tss tdata) (setq tss (ssget "X" (list (cons 1 "****")))) (repeat (sslength tss) (setq tdata (entget (ssname tss 0)) tdata (subst (cons 1 offerte) (assoc 1 tdata) tdata) ) (entmod tdata) (ssdel (ssname tss 0) tss) ) ) Thanx in advance for any comments!
Hello I am trying to make multiple find and replace all the texts (text, mtext, and texts in blocks etc) in model space through excel vba (and not through Autocad vba). I got the basic code from here and trying to modify for my requirements. http://forums.autodesk.com/t5/Visual-Basic-Customization/VBA-Find-Replace-Quick-Fix-for-Someone-not-me-Please-Help/td-p/1829444/page/2 I am able to do find and replace for text, but getting an error when trying to replace the text in blocks. Have checked some threads in this forum but yet to debug. -------------------- With oModel.Utility End with -------------------- I have attached the excel file in which the glossary is available in Sheet1 and macro in Module1. Have attached a sample drawing. Any help is appreciated. Thanks Chandru Drawing1.dwg Multiple Find and Replace in all Autocad drawings.xls