LISPSYS system variable

LISPSYS system variable

office
Enthusiast Enthusiast
1,504 Views
3 Replies
Message 1 of 4

LISPSYS system variable

office
Enthusiast
Enthusiast

In AutoCAD 2021 there is this LISPSYS system variable which is messing up the vlax-ldata.

If I open a previous version saved dwg(with my custom vlax-ldata saved in the dwg) in AutoCAD 2021 and the LISPSYS is set to 1 or 2, the vlax-ldata-list returns nil. If I set the LISPSYS to 0 and I restart the AutoCAD 2021 the vlax-ldata-list returns the saved data.

If my lisp code is running with the LISPSYS set to  1 or 2 and I save the dwg and I open it in AutoCAD 2018(for example), the vlax-ldata-list returns nil.

What the hack is the trick?

1,505 Views
3 Replies
Replies (3)
Message 2 of 4

cadffm
Consultant
Consultant
Message 3 of 4

CodeDing
Advisor
Advisor

Wow...

I couldn't imagine having an entire custom dictionary just completely deleted. Without warning or preparation.

Thank you for sharing that link.

0 Likes
Message 4 of 4

Anonymous
Not applicable

Yeah, they have been deleting variables these last few versions and lisp files that used those variable need to be redone if you still want them to work.

0 Likes