lupita6 Posted August 12, 2012 Share Posted August 12, 2012 Greetings to all forum (read especially for Lee Mac) I'm having a little problem with this program lisp. Maybe someone knows the solution. I have a 100 dwg files and run the program on them without problem. Bfind works correctly and shows me correct excel report. However, after this I have to convert dwg files to PDF 100. For this I use the "Any DWG to PDF" I've always worked well. "Any DWG to PDF" works every file but the result is all-white PDFs!. Nothing is displayed. I have tried changing all the program options but the result is always the same. The point is that if I run the program in the starting 100 files into PDF without problems. But obviously without the words replaced. Can anyone help me?. Thanks Quote Link to comment Share on other sites More sharing options...
Lee Mac Posted August 12, 2012 Author Share Posted August 12, 2012 Hi lupita, Note from the program code header that saving drawings using ObjectDBX (as used by this program) will cause the drawing thumbnail to be temporarily lost until the next manual save. I can only guess that the 'Any DWG to PDF' program uses the drawing thumbnail to create the PDF... Lee Quote Link to comment Share on other sites More sharing options...
hungcuongtx Posted September 28, 2012 Share Posted September 28, 2012 @Lee Mac while I load the lisp, and type "bfind", a dialog appear: "dialog definition file could not be written". In the command window: : CVVC stop writing to: C:\Documents and Settings\Lanka\Application Data\Autodesk\AutoCAD 2007\R17.0\enu\Support\LMAC_BFind_V2-0.cfg -------------------- CVVC stop writing to: C:\Documents and Settings\Lanka\Application Data\Autodesk\AutoCAD 2007\R17.0\enu\Support\LMAC_BFind_V2-0.dcl" I use Windown XP. Please tell me how to fix the error. Thankyou verymuch! Quote Link to comment Share on other sites More sharing options...
Lee Mac Posted September 28, 2012 Author Share Posted September 28, 2012 @Lee Macwhile I load the lisp, and type "bfind", a dialog appear: "dialog definition file could not be written". In the command window: : CVVC stop writing to: C:\Documents and Settings\Lanka\Application Data\Autodesk\AutoCAD 2007\R17.0\enu\Support\LMAC_BFind_V2-0.cfg Since the BFind program automatically writes the DCL file and Config file to the support path, you will need to ensure that you have write permission for the directory as noted in your post: C:\Documents and Settings\Lanka\Application Data\Autodesk\AutoCAD 2007\R17.0\enu\Support If this is not possible you can alternatively change the directory to which the files are to be written by changing line 1469: (setq SavePath (_GetSavePath)) to: (setq SavePath "C:\\Your Folder") Note that you must use double-backslashes to separate folders and there must be no trailing backslash. Quote Link to comment Share on other sites More sharing options...
hungcuongtx Posted September 28, 2012 Share Posted September 28, 2012 Thank you for your support! Everything is done! I love this lisp and you too. Quote Link to comment Share on other sites More sharing options...
Lee Mac Posted September 28, 2012 Author Share Posted September 28, 2012 Thank you for your support! Everything is done! I love this lisp and you too. Cheers! Quote Link to comment Share on other sites More sharing options...
Pingel Posted October 1, 2012 Share Posted October 1, 2012 I've been using this tool for months and love it but I also have a question about the selection. I saw that it has been asked a few times but I'm not sure if there was ever a clear answer. I have the drawing number in the same corner in every drawing, I want to change the last 2 characters from -0 to -1 but I have dozens of pieces of text with -0 in it. So my question is... is it possible to add a predetermined window for it to search? Or maybe a simple work around? Quote Link to comment Share on other sites More sharing options...
Lee Mac Posted October 2, 2012 Author Share Posted October 2, 2012 Is it possible to add a predetermined window for it to search? Or maybe a simple work around? No, this is not possible with the current version of the program. Quote Link to comment Share on other sites More sharing options...
ReMark Posted October 2, 2012 Share Posted October 2, 2012 Pingel: Maybe with a little monetary enticement the author could be persuaded to include this type of functionality. Hint, hint. Quote Link to comment Share on other sites More sharing options...
Lee Mac Posted October 2, 2012 Author Share Posted October 2, 2012 Pingel: Maybe with a little monetary enticement the author could be persuaded to include this type of functionality. Hint, hint. Thanks ReMark, though unfortunately this functionality would be incredibly difficult to implement in a program of this nature. Quote Link to comment Share on other sites More sharing options...
ReMark Posted October 2, 2012 Share Posted October 2, 2012 And here I thought you were not only an accomplished mathematician and lisp programmer but also a magician too! Oh well, I tried. Quote Link to comment Share on other sites More sharing options...
yonderbob Posted October 2, 2012 Share Posted October 2, 2012 Hi, Lee would it be possible to call upon your code in a other lisp routine to find and replace content within text that is predetermend by dialog box? I would like to speed up my employees with easier and faster code. If it is possible what would be to command/order i would have to put in my variables/entries/string. For example to make a new style you can easly use the command : (command "-style" "isocp2_13" "isocp2.SHX" 1.3 1 "" "N" "N" ) thats what i mean with order of code and how many "" and what text would need to be where and how many "". if you get what i mean. Thanks in advance Quote Link to comment Share on other sites More sharing options...
BlackBox Posted October 2, 2012 Share Posted October 2, 2012 I've been using this tool for months and love it but I also have a question about the selection. I saw that it has been asked a few times but I'm not sure if there was ever a clear answer. I have the drawing number in the same corner in every drawing, I want to change the last 2 characters from -0 to -1 but I have dozens of pieces of text with -0 in it. So my question is... is it possible to add a predetermined window for it to search? Or maybe a simple work around? In an effort to offer an option using built-in functionality... Consider using a FIELD to display your drawing number, which references the Sheet Number Property in Sheet Set Manager (SSM). In this case, you can renumber your sheets via SSM, and never need to open the drawings themselves (for this task). Field expression (CurrentSheetNumber, Uppercase): %<\AcSm Sheet.Number \f "%tc1">% HTH Quote Link to comment Share on other sites More sharing options...
Lee Mac Posted October 2, 2012 Author Share Posted October 2, 2012 Lee would it be possible to call upon your code in a other lisp routine to find and replace content within text that is predetermend by dialog box? This is unfortunately not possible with the current version of the program as I have not as yet written a command-line version of the program to enable users to bypass the program dialog. Quote Link to comment Share on other sites More sharing options...
Pingel Posted October 2, 2012 Share Posted October 2, 2012 In an effort to offer an option using built-in functionality... Consider using a FIELD to display your drawing number, which references the Sheet Number Property in Sheet Set Manager (SSM). In this case, you can renumber your sheets via SSM, and never need to open the drawings themselves (for this task). Field expression (CurrentSheetNumber, Uppercase): %<\AcSm Sheet.Number \f "%tc1">% HTH I've never used the sheet set manager and I'm not working for that client right now so I can't spend much time fiddling with it. However, I'm not sure how well that will work. The drawing numbers are single line next and the dash at the end is the revision number which is different from the .dwg file name. The drawing number in the corner might be 1234567-4 but the file is 1234567.dwg. Also, all of their drawings are in model space and they may be hesitant to use something fancy like that. I'll mess around with it when I get a chance, I've done some stuff with fields based off the drawing properties. Thanks for the tip. Quote Link to comment Share on other sites More sharing options...
esputro Posted October 16, 2012 Share Posted October 16, 2012 Dear Lee, Great lisp and thanks for your kind, first time i tried this lisp was great and yesterday i had problems with my drawing after i find and replace with V2.0 Version. The last sequences that i replace was repeated againt (please see attahment drawing), i dont understand wky this happen, please advice. for information i used autocad 2008. Thanks you, Regards, esputro test1-find.dwg Quote Link to comment Share on other sites More sharing options...
Lee Mac Posted October 16, 2012 Author Share Posted October 16, 2012 Hi esputro, What find pattern did you search for, and what did you use as the replacement string? What result were you looking to obtain? Quote Link to comment Share on other sites More sharing options...
esputro Posted October 17, 2012 Share Posted October 17, 2012 Hi lee, thanks for prompt reply, sorry i had mistakes with my sequences number, it solved with your great lisp. Thanks again for your lisp. rgds, Quote Link to comment Share on other sites More sharing options...
Lee Mac Posted October 17, 2012 Author Share Posted October 17, 2012 thanks for prompt reply, sorry i had mistakes with my sequences number, it solved with your great lisp. Thanks again for your lisp. You're welcome! Quote Link to comment Share on other sites More sharing options...
PhotonTome Posted October 23, 2012 Share Posted October 23, 2012 Fantastic. i love this app. :D 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.