PBLM w/AutoLISP "BFIND" written by Lee Mac
The BFIND AutoLISP written by Lee Mac works great, but my issue is that when it saves the drawing after hitting "OK" it saves it to whatever native AutoCAD I am running. If I am on AutoCAD 2010 it is saved as 2010, if I am on AutoCAD 2007 it is saved as 2007.
Our customer requires the drawings to be saved as AutoCAD 2007 even when I am using AutoCAD 2010 or 2011.
I have tried contacting the author, but haven't received a response yet. I have looked through the program and think I can discern where the problem might be, but don't know how to fix/correct it; I am hoping someone can help. Thxs REZ
Re: PBLM w/AutoLISP "BFIND" written by Lee Mac
Hi rzuk,
I usually ensure I reply to such queries submitted through my website, but maybe you didn't receive the email.
My Batch Find & Replace program uses an ObjectDBX interface to execute the Find operation on multiple drawings in a short time. This interface only permits saving to native format - i.e. saving to the same format as the application in which the program is run.
Lee
Re: PBLM w/AutoLISP "BFIND" written by Lee Mac
Thanks for your reply Lee Mac, I originally sent the email thru your Lee Mac website, but maybe mine didn't go through.
So I guess that even inserting something like this within your program wouldn't work?
(vla-get-saveastype
(vla-get-opensave
(vla-get-preferences
(vlax-get-acad-object)
SaveAsType
acSaveAsType enum; read-write
ac2007_dwg
AutoCAD 2007 DWG (*.dwg)
I really really like this program - saves a lot of time and it will change anything.
Plus didn't have to do a ton of things to get it working. REZ
Re: PBLM w/AutoLISP "BFIND" written by Lee Mac
Quote:
Originally Posted by
rzuk383263
So I guess that even inserting something like this within your program wouldn't work?
(vla-get-saveastype
(vla-get-opensave
(vla-get-preferences
(vlax-get-acad-object)
SaveAsType
acSaveAsType enum; read-write
ac2007_dwg
AutoCAD 2007 DWG (*.dwg)
That is changing the save settings in the Options for the Active Document, and hence will not affect the ObjectDBX Document.
Quote:
Originally Posted by
rzuk383263
I really really like this program - saves a lot of time and it will change anything.
Plus didn't have to do a ton of things to get it working. REZ
Thanks, I'm glad ;)
Re: PBLM w/AutoLISP "BFIND" written by Lee Mac
Thanks again Lee Mac for your help, I will still use your program, but have to go looking again. Have a good day.