LISPSYS keeps reverting to 0

LISPSYS keeps reverting to 0

cadV8PVA
Participant Participant
401 Views
4 Replies
Message 1 of 5

LISPSYS keeps reverting to 0

cadV8PVA
Participant
Participant

Hi All,

I have noticed this issue for a while now and have finally gotten frustrated enough to ask if anyone knows what I am doing wrong. When I try to debug a lisp file in VSC, I get an error that the system variable LISPSYS is set to 0 and that I need to change it to 1 and restart AutoCAD. Once I do that everything is fine until I close AutoCAD again, at which time I get the same error and have to set LISPSYS to 1 again.

 

My question is, why won't the system variable stay set to 1? It keeps reverting to 0, and I have to go through this over and over. 

 

Thanks

0 Likes
Accepted solutions (1)
402 Views
4 Replies
Replies (4)
Message 2 of 5

pendean
Community Legend
Community Legend

Are you following this arrowed requirement (or you just have something changing it for you of course)

pendean_0-1732037786789.png

 

0 Likes
Message 3 of 5

cadV8PVA
Participant
Participant

pendean,

Thanks for the reply. I do close AutoCAD after I set it to 1 as the instruction states, and debugging works as expected on re-opening. However, the next debugging "session" at a later time, once both VSC and AutoCAD have been closed, for example the next day, I get the same error and have to reset it to 1 again. The LISPSYS value always reverts to 0.

 

This has been ongoing for me since AutoCAD switched to debugging with VSC several years ago.

 

 

 

0 Likes
Message 4 of 5

ryanatkins49056
Enthusiast
Enthusiast

I am curious what version of AutoCAD or AutoCAD LT are you using?

If you are using a full version of AutoCAD then save your profile after you make this change but before you restart. Then after saving your profile restart AutoCAD and make sure that profile is properly loaded.

0 Likes
Message 5 of 5

cadV8PVA
Participant
Participant
Accepted solution

It turns out that an add-in (Mech-Q) was changing the LISPSYS variable to 0. I uninstalled that add-in and now the system variable remains set to 1 as expected.

 

Thanks for the help.

0 Likes