Rooster Posted September 18, 2015 Share Posted September 18, 2015 I'm running AC2016. I had to kill AutoCAD via the Task Manager after it stopped responding. I can't recall what process it was stuck on at the time, but since I restarted it a couple of my simple lisp files do not now run as expected - these lisps call up the layer properties manager and change various layer states etc eg: (COMMAND "LAYER" "LO" "BUILDINGS" .... etc etc) Now, since restarting AutoCAD it gets to the LAYER bit, and instead of proceeding with LO etc it opens up the layer properties window, and once in there it obviously has no idea what the commands LO, ON etc mean, so just gives an error. Somehow, before my crash the layer properties window was being suppressed from opening during the running of my lisps - I need to find the setting to resume this behaviour! I have found that I can change all my lisps to"-LAYER" and they will then run, but I'd rather change one system setting than dozens of lisp files. I have been through the entire list of AutoCAD system variables, but have not spotted the right one to change. Would be very grateful if anyone can tell me what I need to change... Quote Link to comment Share on other sites More sharing options...
ReMark Posted September 18, 2015 Share Posted September 18, 2015 Did your custom lisp routines work fine yesterday? Quote Link to comment Share on other sites More sharing options...
Rooster Posted September 18, 2015 Author Share Posted September 18, 2015 (edited) yes, and they still work fine on the other PCs on the network. I've tried comparing sets of variables from different PCs to try to see which one might have been changed, but no luck PS: it's not just the layer properties manager that is affected - anything that would normally have a pop-up window (eg. Purge) also acting this way Edited September 18, 2015 by Rooster Quote Link to comment Share on other sites More sharing options...
ReMark Posted September 18, 2015 Share Posted September 18, 2015 (edited) Could it be FILEDIA by any chance? Bad guess on my part. Should have remembered that FILEDIA controls the display of dialog boxes used with commands that read and write files. I'm such a dummy. Need more coffee! Edited September 18, 2015 by ReMark Quote Link to comment Share on other sites More sharing options...
Rooster Posted September 18, 2015 Author Share Posted September 18, 2015 FILEDIA is set to 1. I've tried changing it to 0, but no difference... thanks for the suggestion though Quote Link to comment Share on other sites More sharing options...
ReMark Posted September 18, 2015 Share Posted September 18, 2015 Dialog windows are being opened when they shouldn't be. That's what you are saying the problem is, right? Quote Link to comment Share on other sites More sharing options...
Rooster Posted September 18, 2015 Author Share Posted September 18, 2015 yes - or at least when they weren't being opened previously Quote Link to comment Share on other sites More sharing options...
Commandobill Posted September 18, 2015 Share Posted September 18, 2015 Don't know what settings you had before, but the "LAYER" command brings up a dialog box the "-layer" command does not. Quote Link to comment Share on other sites More sharing options...
Rooster Posted September 18, 2015 Author Share Posted September 18, 2015 from within my lisps, yes Quote Link to comment Share on other sites More sharing options...
Commandobill Posted September 18, 2015 Share Posted September 18, 2015 According to your first post you didn't have the "-" dash before the call. Are you saying you do have the dash and it still brings up a dialog box? Quote Link to comment Share on other sites More sharing options...
Rooster Posted September 18, 2015 Author Share Posted September 18, 2015 no, I'm saying if I now edit all my lisps to add '-' they then work as expected (even though they didn't previously have these). Obviously I would rather change one global AutoCAD setting than try to catch every command within every lisp needing a '-' Quote Link to comment Share on other sites More sharing options...
ReMark Posted September 18, 2015 Share Posted September 18, 2015 Are the other workstations running 2016 as well? Quote Link to comment Share on other sites More sharing options...
Rooster Posted September 18, 2015 Author Share Posted September 18, 2015 yes, 2016 in the meantime I've edited most of my lisps, but it would still be nice to know what the issue was! Quote Link to comment Share on other sites More sharing options...
ReMark Posted September 18, 2015 Share Posted September 18, 2015 Don't all the workstations have a path to the same set of lisp routines? Why would you have your own set? Quote Link to comment Share on other sites More sharing options...
Rooster Posted September 18, 2015 Author Share Posted September 18, 2015 All the workstations use the same shared lisps. The lisps now work on all workstations with the addition of the '-'s - all the other workstations seem unaffected, which is why I am certain it's an AutoCAD system setting that has changed on my PC Quote Link to comment Share on other sites More sharing options...
ReMark Posted September 18, 2015 Share Posted September 18, 2015 You didn't happen to download a custom lisp routine to test on your system did you? Quote Link to comment Share on other sites More sharing options...
Rooster Posted September 18, 2015 Author Share Posted September 18, 2015 yes - I tried using a vlx file called EXPLODEALL from somewhere called CADKITS that I found on Google. After loading it up it then wanted me to register/use under a trial at which point I cancelled and removed it Quote Link to comment Share on other sites More sharing options...
ReMark Posted September 18, 2015 Share Posted September 18, 2015 I wonder if that had anything to do with your problem? Did you close AutoCAD then shut down your computer? Quote Link to comment Share on other sites More sharing options...
Rooster Posted September 18, 2015 Author Share Posted September 18, 2015 I closed AC, but not the computer Quote Link to comment Share on other sites More sharing options...
ReMark Posted September 18, 2015 Share Posted September 18, 2015 Aren't some system variables saved in the Registry while others are saved in the drawing itself? Maybe one of variables in your Registry got changed. Do you have a Restore point that predates the loading of the custom lisp routine you previously mentioned? 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.