Jump to content

System variable problem?


Rooster

Recommended Posts

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...

Link to comment
Share on other sites

  • Replies 23
  • Created
  • Last Reply

Top Posters In This Topic

  • Rooster

    11

  • ReMark

    8

  • Commandobill

    2

  • BIGAL

    1

Top Posters In This Topic

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 by Rooster
Link to comment
Share on other sites

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 by ReMark
Link to comment
Share on other sites

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?

Link to comment
Share on other sites

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 '-'

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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?

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...