LeoSonic Posted March 17, 2010 Posted March 17, 2010 a few days ago i received a drawing, after opening it, my mouse middle button setting has gone to mbuttonpan=0 and fillmode=0 the problem is now this setting is set as a default now, and every time i open ACAD i have to reset it to mbuttonpan=1 and fillmode=1 (to view hatchs) Any way to solve this ? Plus, now every time i close ACAD i find a file (acad.lsp) which comes out from no where into the directory of the working files i open. what should be done to stop this. Those issues are really driving me crazy and wasting my time. Thanks for your help Note: using ACAD 2008 Quote
Cad64 Posted March 18, 2010 Posted March 18, 2010 Contact the person who sent you the file and make them explain what they did to it and how to undo whatever they have done. And feel free to bring them up to speed as to how irritated you are and how much time you have wasted since receiving their file. :wink: Quote
LeoSonic Posted March 21, 2010 Author Posted March 21, 2010 Thanks for the reply, but this did no good, the person who gave it to me isn't the creator of those files, the draftsman is not a single person and aren't easy to get in contact with. All i want to know if there is a solution to set at least the MBUTTONPAN and FILLMODE and FILL values back to "1" again as they were. And in any case, would re-installing ACAD do the trick ? Quote
Cad64 Posted March 21, 2010 Posted March 21, 2010 How was this drawing sent to you? Was it in a .zip file? Was there anything else included? Like an .arx file or a .lsp file? Is there any more information you can provide about the drawing or how it was sent or any instructions you may have been given? You can reset Mbuttonpan and Fillmode, but as you've already stated, it changes back every time you open another drawing, correct? No, re-installing Autocad won't solve the problem because once you open this drawing, the problem will start all over again. There is something going on with this drawing. You need to track down the author, no matter how difficult it may be. His initials, and the company's name, address and telephone number are on the drawing, correct? So a simple phone call should clear this right up. :wink: Quote
LeoSonic Posted March 24, 2010 Author Posted March 24, 2010 More information on the issue: 1- The files came in folders, unpacked, palin .dwg files. 2- One of the folders contained a file titled acad.lsp. 3- Opening files from this folder are what started this problem as i presume. 4- There was no specific information supplied on how to use those files, since they are normal .dwg 5- Yes i should reset Mbuttonpan and Fillmode (Fill) values for every file i open, every time, even during one ACAD session. 6- Opening (NOT Saving) any file now, even ones i created, or had before, will result in creating a file called acad.lsp in the same folder of the opened file. 7- The source i got those files from is a government department and they would not give out any information other than those drawings. I asked them already. IMPORTANT: 1- I used a program called ZWCAD to open those files and didn't get that problem with that program, while i STILL get it in ACAD. 2- I launched ACAD and found these error messages appear (but don't prevent ACAD from functioning) : AutoCAD Express Tools Copyright © 2002-2004 Autodesk, Inc. ; error: bad character read (octal): 0 AutoCAD menu utilities loaded.; error: bad character read (octal): 0 Further more, i attached the acad.lsp file i'm getting, use Notepad to view it. Please help !! Quote
Cad64 Posted March 24, 2010 Posted March 24, 2010 I would ask you to post one of the .dwg files, but frankly, I'm afraid to touch it. I don't want the infection you've got. I'm guessing ZWCAD probably doesn't utilize .lsp routines? Maybe that's why you don't have the problem there? Nothing to read in the .lsp file. It's just a bunch of garbage. Did you explain your situation to these government yahoo's and tell them the problems you're having with their files? I can't believe they are unwilling to help you. Typical. I'm sorry, but I don't really know what else to suggest. I'm not sure what's causing this and I'm not willing to risk contracting the same affliction. So unless you can convince the author of these files to give you the antidote, I guess you're stuck. When you open a .dwg, do you get a warning about macros or scripts needing to run, or any sort of messages at all? After opening a drawing, hit F2 and see if there's any information being reported in the Text Window. Anybody else have any suggestions for LeoSonic? Quote
Lee Mac Posted March 24, 2010 Posted March 24, 2010 I've seen this before, and it is an intentional attempt to tamper with your system - you can see that in the way that the acad.lsp file is formatted (using chr to disguise the code, and huge line spacing). I haven't loaded the code for obvious reasons, but I would think that the code writes the acad.lsp file everytime you open the drawing if it is not found, and this would set all the sys vars to how the acad.lsp is encoded. Its a nasty code, and I've seen it before happen to another member. The way around it is to do a search for all files called acad.lsp and acaddoc.lsp and if they contain similar code delete these files. Lee Quote
Lee Mac Posted March 24, 2010 Posted March 24, 2010 A quick look at the code reveals that it appears to write itself the (acad.lsp file) to the hidden support path, where the base.dcl is located. It is also redefining your S::STARTUP function to perform the same tasks, which is executed when you start AutoCAD, so after deleting the excess acad.lsp / acaddoc.lsp files you will need to redefine this function. Quote
ahadar002 Posted August 24, 2010 Posted August 24, 2010 Uninstall Autocad from your pc. now delete all acad.lsp files from your system. then again install Autocad and try your problem solved or not. Quote
khadija Posted October 14, 2010 Posted October 14, 2010 I've have common problems with member LeoSonic : 1 - the default value of mbutton of my CAD is 0 & I've to set it as 1 , every time I open a file , to be able to pan normally 2 - also every time I open a file , save it & close it .. I found in the destination folder - where I saved the file - a " lsp " file not " bac " file 3 - another problem that when I choose an object - a line for example - to move or rotate or ........ any order , it's doesn't change to a doted line , there is no difference between the selected & not selected line .. that happened with all orders except MA " match properties " it's work normally Quick Note : I formatted my PC & Reinstalled various CAD versions without a useful result Please any one have an obvious solution send or write it .. I need an urgent help .. I'm a student in the last year of fine-arts architecture department & I can't make my projects normally & regularly it's preferred answering in Arabic language plz .. I'm good at it more than English Quote
Daniel Cruchaga Posted August 1, 2011 Posted August 1, 2011 delete LSP file in saved together with the files you are having the problem with Quote
Jack_O'neill Posted August 1, 2011 Posted August 1, 2011 delete LSP file in saved together with the files you are having the problem with You do realize that the last reply before yours was nearly a year ago, right? Quote
rbeldua Posted October 29, 2011 Posted October 29, 2011 hi to everyone, I maybe 3 mos. late for the reply just wanted to add that deleting infected LSP and reinstalling autocad solved the problem. thanks guys great forums Quote
Cad64 Posted October 29, 2011 Posted October 29, 2011 Actually you're 19 months late. This thread was posted back in March 2010. Quote
rbeldua Posted October 30, 2011 Posted October 30, 2011 19 mos.. actually i was quoting daniel's post for deleting the LSP's, we had this problem for 2 days now. Uninstalling then reinstalling autocad didn't help and looking for help in the internet didn't do any good too. until we follow the suggestions here did solved the problem. 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.