Sunday, May 9, 2021

Solution for ; error: bad argument type: VLA-OBJECT nil

I run into a problem in AutoCAD trying to get a VLA-OBJECT property like this with AutoLISP/ActiveX:

(vla-get-linetypes (vla-get-activedocument (vlax-get-acad-object)))

The error:

; error: bad argument type: VLA-OBJECT nil

Accessing other properties also failed.

Reinstall of AutoCAD was needed to solve the problem. Repair did not help.

No comments:

Post a Comment

Subscribe to the comments feed

Some of the latest blog posts

Subscribe to RSS headline updates from:
Powered by FeedBurner

Contact Us | About JTB World | Subscribe to this blog
JTB World's website | Website General Terms of Use | Privacy Policy
^ Top of page

© 2004- JTB World. All rights reserved.