Has anyone tried vlax-invoke-method in AutoCAD LT 2024

Has anyone tried vlax-invoke-method in AutoCAD LT 2024

cadaptor
Explorer Explorer
370 Views
4 Replies
Message 1 of 5

Has anyone tried vlax-invoke-method in AutoCAD LT 2024

cadaptor
Explorer
Explorer

hello

This code does not work in AutoCAD LT 2024, windows 10 its fine in any version of full autocad

(VL-LOAD-COM)
(setq web_obj
(vlax-invoke-method
(vlax-get-acad-object)
'GetInterfaceObject
"WinHttp.WinHttpRequest.5.1"
)
)

returns error: Automation Error. Description was not provided.

anybody any idea why?

thanks peter

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

paullimapa
Mentor
Mentor
Accepted solution
Message 3 of 5

cadaptor
Explorer
Explorer

Thanks Paul

I assumed it should work because

(vlax-method-applicable-p (vlax-get-acad-object) 'GetInterfaceObject)

returned T

 

Looks like a whole bunch of vlisp functions are not supported, thanks for the heads up

Peter

 

0 Likes
Message 4 of 5

pendean
Community Legend
Community Legend

@cadaptor wrote:

...anybody any idea why?


Autodesk chose not to make that an option in LT2024. Feel free to let them know your thoughts on the matter over here where they look for feedback https://www.autodesk.com/company/contact-us/product-feedback 

Message 5 of 5

paullimapa
Mentor
Mentor

Glad to have helped.. cheers!!!


Paul Li
IT Specialist
@The Office
Apps & Publications | Video Demos
0 Likes