Jump to content

Batch Find & Replace Text


Lee Mac

Recommended Posts

  • 2 weeks later...

Hi Lee,

 

I'm using this lisp for more than one year. And it's one of my favourite lisp. But today I got an error as "** Error: Automation Error. Problem in loading application **". How can I solve the problem, do you have any suggestion?

Link to comment
Share on other sites

Thanks Lee for fast reply,

 

RegisterObjectDBX didn't resolve the problem but finally I clean uninstall/reinstalled the Autocad and it works now. :)

Link to comment
Share on other sites

  • 2 weeks later...

Where are the saved searches files located? Are they in .txt format? I would like to edit off line so I can copy and paste from excel a multiple line entries. Thank you.

Link to comment
Share on other sites

  • 6 months later...

hey lee, hope you fine...

 

thanks a ton this great routine!

 

i have some advices to you for next versions :)

 

f&r progress in order?

 

and

 

savelist export and import? (from a txt)

 

sorry for bad english, c'ya :)

Link to comment
Share on other sites

  • 3 weeks later...

Lee, I was wondering if someone else has already reported the bug that the report file wouldn't be generated when user is doing a SEARCH ONLY batch. Or maybe I am wrong and the report is only meant to be generated only if there is Replacement batch?!

Edited by bababarghi
Link to comment
Share on other sites

Lee, I was wondering if someone else has already reported the bug that the report file wouldn't be generated when user is doing a SEARCH ONLY batch. Or maybe I am wrong and the report is only meant to be generated only if there is Replacement batch?!

 

The report should always be generated for a 'Search Only' run, but will only be generated for a replacement run if the 'Always Generate Replacement Report' option is enabled.

 

The report should be created in the same directory as the processed drawings (if write-permissions allow this).

Link to comment
Share on other sites

The report should always be generated for a 'Search Only' run, but will only be generated for a replacement run if the 'Always Generate Replacement Report' option is enabled.

 

The report should be created in the same directory as the processed drawings (if write-permissions allow this).

 

I am afraid that's not the case on my machine then ! The write permission is granted on the drive which drawings reside. The program runs without any problem and I see the console message which states that XXX drawing processed but no Excel file would be generated :unsure:

 

EDIT:

It doesn't create the excel report because the research result is NONE (no instance of keyword exist in searching directory). I think the code should still create a and open a blank report regardless. Don't you think Lee?

Edited by bababarghi
Link to comment
Share on other sites

  • 8 months later...

Lee Mac, first thank you for your amazing lisp routines, I use them often.

 

I am having an issue with the Batch Find & Replace. I type bfind, and the window comes up. It shows the last info I did a find and replace from, however when I enter in new info to find and replace and hit OK, the window goes away and nothing happens. If I open bfind again, it still shows the old info. I can't figure out what is going on.

 

Any ideas?

Link to comment
Share on other sites

What is the command-line output received?

 

According to the text window, this is what I'm getting:

 

 

Command: BFIND

 

Select Object:

Working, Please Wait...

** Error: Automation Error. Problem in loading application **

 

I have tried deleting and unloading the lisp, then downloading a new copy but it still keeps the old info in the find and replace boxes.

Link to comment
Share on other sites

According to the text window, this is what I'm getting:

 

 

Command: BFIND

 

Select Object:

Working, Please Wait...

** Error: Automation Error. Problem in loading application **

 

I have tried deleting and unloading the lisp, then downloading a new copy but it still keeps the old info in the find and replace boxes.

 

From the error message you are receiving, it would seem that the ObjectDBX DLL required by the BFind program is not found or registered on your system; ObjectDBX is the technology which is required to interface with a drawing without opening the drawing in the AutoCAD Editor – it is provided with the standard AutoCAD installation.

 

The attached program (RegisterObjectDBX.lsp) will attempt to automatically find & register the required DLL module if found on your system – the command for the attached program is regodbx. The program should also print some diagnostic messages to the command-line when run.

 

After running the program, please restart AutoCAD and try my BFind program again – if this remains unsuccessful, I could only unfortunately suggest an AutoCAD reinstallation to attempt to resolve the problem.

 

Lee

RegisterObjectDBX.lsp

Link to comment
Share on other sites

Unfortunately that didn't work (was returning nil). I did get it working again however. Last week I installed Advanced System Care (which I have done many times, just not on my newest computer), and ran a cleanup. I figured that may have been the culprit and did a rollback to before I installed it and now it works just fine. Now I know not to use that again.

 

Thanks for your quick responses, as always, thanks for your great list of addons for AutoCad since it truly does make my work easier.

Link to comment
Share on other sites

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...