Message 1 of 9
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello boys how are you.
With the changes of versions of autocad, they are eliminating system variables.
How do I avoid the error, if a variable does not exist, with activex functions.
I tried as follows, but it didn't work.
(vl-catch-all-error-p
(setq v (vlax-variant-value (vla-GetVariable (vla-get-activedocument (vlax-get-acad-object)) "casa"))))
Thanks.
AutoCAD 2026
Visual Studio Code 1.99.3
AutoCAD AutoLISP Extension 1.6.3
Windows 10 (64 bits)
Solved! Go to Solution.