Lee Mac Posted October 23, 2012 Author Posted October 23, 2012 Fantastic. i love this app. :D Thanks! Quote
jetboy86 Posted December 6, 2012 Posted December 6, 2012 awesome little program mate. will save me heaps of time in the future, too bad i just found it after 2 days of changing drawing numbers in a set of 180 schematics..:x ahwell cheers Quote
asos2000 Posted December 6, 2012 Posted December 6, 2012 while running the lisp on a file on server this error comes Command: BFIND Working, Please Wait..............; error: Exception occurred: 0xC0000005 (Access Violation) ; warning: unwind skipped on unknown exception Command: BFIND Working, Please Wait..... Loading AEC Base... Loading AEC Base UI... Loading AEC Base Extended... Loading AEC Project Base... Loading AEC Schedule Data... Loading AEC Architectural Base... Loading AEC Structural Base... Loading AEC Schedule... Loading AEC Area Base... Loading AEC Dimensions Base............; error: Exception occurred: 0xC000001D ; warning: unwind skipped on unknown exception Quote
Lee Mac Posted December 6, 2012 Author Posted December 6, 2012 awesome little program mate.will save me heaps of time in the future, too bad i just found it after 2 days of changing drawing numbers in a set of 180 schematics..:x Cheers jetboy while running the lisp on a file on server this error comes... Pass Quote
shennig Posted January 18, 2013 Posted January 18, 2013 I love this lisp. is there anyway to change the width factor of the changed text? i need to make it .9 instead of 1 Quote
Lee Mac Posted January 18, 2013 Author Posted January 18, 2013 I love this lisp. is there anyway to change the width factor of the changed text? i need to make it .9 instead of 1 Thank you, but no, this program will only alter the text content. To change the width factor for specific text in a set of drawings, I recommend that you first construct a LISP program to modify the text as required in a single drawing, and then use a Script to evaluate the program on a set of drawings. Quote
gr8ysun Posted February 8, 2013 Posted February 8, 2013 I'm running AutoCAD 2012, Win7, 64-Bit. I see some users with AutoCAD 2012 are using BFind with success. 1. I click on "Load Application" and select BFind V2.0.lsp then click "Load" button. I get a BFindV2-0.lsp loaded successfully. 2. I type BFind to start the application. The Batch Find & Replace V2.0 window pops up. 3. I then select my text to find and the text I want to replace it with. 4. I then select the Add button, click on Current Drawing Only because I'm trying to get this to run with one drawing before I attempt multiple drawings. 5. Then click the "OK" button and get the error below. Any suggestions. Working, Please Wait... ** Error: Automation Error. Problem in loading application ** Quote
Enigma Posted April 10, 2013 Posted April 10, 2013 I couldn't get this to work on the acadM parts list in mechanical version 2013, any suggestions? Quote
SLW210 Posted April 11, 2013 Posted April 11, 2013 What comprises the acadM parts list? Are you sure it is text, attributes, etc.? Quote
Enigma Posted April 11, 2013 Posted April 11, 2013 The parts list is populated by dropping the acadM Balloon nodes on the drawing, no idea really how the program creates it. I was just trying to find some kind of routine to quickly change multiple instances of certain words without stabbing my eyes out going through hundreds of lines one at a time. Almost done now though, and still have one eye left. Quote
Lee Mac Posted April 11, 2013 Author Posted April 11, 2013 I couldn't get this to work on the acadM parts list in mechanical version 2013, any suggestions? The program is only compatible with annotation objects available in Vanilla AutoCAD, not those created using the Vertical applications, such as Mechanical. Quote
Enigma Posted April 11, 2013 Posted April 11, 2013 Thanks Lee, Any suggestions for a "find and replace" type routine that would work in this application? Quote
Lee Mac Posted April 11, 2013 Author Posted April 11, 2013 Any suggestions for a "find and replace" type routine that would work in this application? I have minimal experience working with Vertical applications, but you may have to turn to a .NET solution as the properties of many objects specific to these applications were never exposed to the AutoLISP & Visual LISP APIs. Quote
iwantland Posted April 24, 2013 Posted April 24, 2013 First off, I want to thank Lee for this .lsp. AMAZINGLY helpful to me today. I did run into a bug that I thought I'd share, because I figured out a workaround after reading other posts on the Forum. Basically, I work with a lot of topographic surveys. I receive several CAD files a year from surveyors. Many times, they use a prefix of "EL=" before a data point. For instance, EL=345.12 represents a point at an elevation of 345.12 feet above sea level. This seems to be automated and probably has to do either with their input device or software that interprets the data taken by the device. However, in my mapping, I like to display this data as having a "+" prefix. In other words, I want to remove all of the instances of EL= from a drawing and replace them with a +. (So, EL=345.12 would be +345.12). I guess the program was having a hard time with the "=" sign because it wasn't finding any cases of "EL=" to replace with "+". In my case, all of my text entities began "EL=2--.--" I was able to work around the problem by using "EL=2" as my find and "+2" as my replace. I can see this being a problem for me across larger tracts of land where the data might range over 2-300 feet in elevation, so I am commenting here to let everyone know my workaround and hope that Lee might look at it to see if this could be remedied. Amazing program. Best Lisp of the Decade! IMHO. Isaac Quote
Lee Mac Posted April 24, 2013 Author Posted April 24, 2013 Hi Isaac, Firstly, many thanks for your compliments for my BFind program, I'm delighted that you find the program useful in your work. Regarding your reported bug: I've briefly tested the latest version of the program (Version 2.0) with a new drawing containing various Text & MText objects with content matching EL=###.## where # are random numbers. I entered EL= as the find string and + as the replace string, and configured the program options to: [noparse] [ ] Match Case [ ] Find Whole Words Only [ ] Ignore Objects on Locked Layers [x] Single-line Text [x] Multiline Text ... [/noparse] Using the above parameters, the program successfully replaced EL= with + in both the Text & MText objects. Are you able to attach a drawing containing a sample of elevation markers for which the program was unsuccessful? Quote
iwantland Posted April 25, 2013 Posted April 25, 2013 Lee, Well. I am not sure what my problem was last night, because today, after re-running the command all seems to work. I was able to execute the command on both mtext, text, and block definitions with success. Not sure what was happening to me last night. Perhaps a reboot of my machine was the solution. I should just delete my thread because it really does't serve a helpful purpose. Apologies. Perfect program. Cheers, Isaac:oops: Quote
Lee Mac Posted April 25, 2013 Author Posted April 25, 2013 No need to apologise Isaac; I appreciate the feedback. Quote
glafond Posted May 22, 2013 Posted May 22, 2013 First, thanks for the lisp routine, it worked very well. I have upgraded to AutoCad 2014, loaded the BFind lisp routine as normal. However, after running the routine, i get "error opening file" with the file name followed. I haven't found any threads regarding your lisp routine and AutoCad 2014, thought maybe there was something i am missing???? Quote
Lee Mac Posted May 22, 2013 Author Posted May 22, 2013 Thank you for your gratitude glafond, I'm glad you like the program. However, after running the routine, i get "error opening file" with the file name followed. Does the program operate successfully if the drawing in question is already open in AutoCAD? Quote
glafond Posted May 22, 2013 Posted May 22, 2013 actually, i was just trying that...... Command: BFIND Working, Please Wait.... ** Error Processing Drawing: 35925E061.dwg ** ** Error Detail: bad argument type: VLA-object collection: # ** > > 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.