Least Posted March 25, 2010 Share Posted March 25, 2010 I think it would be a useful option (x and y or x,y and z), well for me anyway , glad it's on the back boiler. Quote Link to comment Share on other sites More sharing options...
Least Posted March 25, 2010 Share Posted March 25, 2010 cfg file - brill! Quote Link to comment Share on other sites More sharing options...
Lee Mac Posted March 25, 2010 Author Share Posted March 25, 2010 I think it would be a useful option (x and y or x,y and z), well for me anyway , glad it's on the back boiler. Ok, I'll see what I can do when I get some time Quote Link to comment Share on other sites More sharing options...
asos2000 Posted March 26, 2010 Share Posted March 26, 2010 Find and replace characters such as @, %%C , %%P, ... etc Quote Link to comment Share on other sites More sharing options...
asos2000 Posted March 26, 2010 Share Posted March 26, 2010 whats cfg file? Quote Link to comment Share on other sites More sharing options...
Lee Mac Posted March 26, 2010 Author Share Posted March 26, 2010 whats cfg file? A configuration file, basically a text file with a different extension. Quote Link to comment Share on other sites More sharing options...
Lee Mac Posted March 26, 2010 Author Share Posted March 26, 2010 Found a few bugs in this version regarding performing the Find and Replace on the current drawing - these will be fixed in the next drawing. Quote Link to comment Share on other sites More sharing options...
Lee Mac Posted March 26, 2010 Author Share Posted March 26, 2010 Code finally updated to Version 1.1, quite a few additions to this version, and a complete rewrite of the String Replacement function that does all the work in the program. Lee Quote Link to comment Share on other sites More sharing options...
The Buzzard Posted March 26, 2010 Share Posted March 26, 2010 Nice one Lee, But what about an option to match string case? Just a thought. Quote Link to comment Share on other sites More sharing options...
Lee Mac Posted March 26, 2010 Author Share Posted March 26, 2010 Nice one Lee, But what about an option to match string case? Just a thought. Thanks Buzzard String case is controlled using the first option in the options dialog Quote Link to comment Share on other sites More sharing options...
The Buzzard Posted March 26, 2010 Share Posted March 26, 2010 Lee, When I run the code by way of the image below, I get this error: Command: BFIND ; error: Exception occurred: 0xC0000005 (Access Violation) ; warning: unwind skipped on unknown exception Command: Quote Link to comment Share on other sites More sharing options...
Lee Mac Posted March 26, 2010 Author Share Posted March 26, 2010 Hi Buzzard, Thanks for the report - in fixing one of the earlier bugs, I think I made another one for myself. I have updated the code in the first post, please let me know if this resolves the issue. Lee Quote Link to comment Share on other sites More sharing options...
The Buzzard Posted March 26, 2010 Share Posted March 26, 2010 It still reports the same error only when Include Sub-Directories is clicked. Quote Link to comment Share on other sites More sharing options...
Lee Mac Posted March 26, 2010 Author Share Posted March 26, 2010 It still reports the same error only when Include Sub-Directories is clicked. Thanks - I shall investigate Quote Link to comment Share on other sites More sharing options...
The Buzzard Posted March 26, 2010 Share Posted March 26, 2010 Lee, I ran the code in 2004 when I got that error Before. So I now decide to test in 2009 and it shows as an Automation Error. Seems to me its a Version thing. Quote Link to comment Share on other sites More sharing options...
The Buzzard Posted March 26, 2010 Share Posted March 26, 2010 Here is the error in 2009: Command: BFIND ** Error Opening File: Air_Force_Village.dwg ** ** Error: Automation Error. Description was not provided. ** Command: Quote Link to comment Share on other sites More sharing options...
Lee Mac Posted March 26, 2010 Author Share Posted March 26, 2010 It sounds like its the ObjectDBX part that is failing, but I haven't had trouble with the code before EDIT: After some testing, with drawings in folders/subfolders, various objects etc, I cannot seem to reproduce the error - could anyone else report if they are getting the same error? Quote Link to comment Share on other sites More sharing options...
asos2000 Posted March 27, 2010 Share Posted March 27, 2010 I faced a problem, I don't know if it mentioned before or not, or it is normal The batch doesn't replace the text in opened drawings, but change the file itself Quote Link to comment Share on other sites More sharing options...
Lee Mac Posted March 27, 2010 Author Share Posted March 27, 2010 I faced a problem, I don't know if it mentioned before or not, or it is normal The batch doesn't replace the text in opened drawings, but change the file itself Does this happen with the latest version? I knew there was a bug in the old version regarding that. Quote Link to comment Share on other sites More sharing options...
asos2000 Posted March 28, 2010 Share Posted March 28, 2010 I downloaded again and tested BFind V1.1.lsp I created a new folder and copied 5 dwgs in this folder Run BFind Only active dwg has been changed, and the other dwgs Text didnt change and Autocad didn't ask to save other files, when colse all files when open again all files the text has been changed. This is the case 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.