"No function vlax-get-acad-object" revisited

"No function vlax-get-acad-object" revisited

john.uhden
Mentor Mentor
1,224 Views
1 Reply
Message 1 of 2

"No function vlax-get-acad-object" revisited

john.uhden
Mentor
Mentor

I ran into the same problem sort of inadvertently.

I made a few changes to a very old AutoLisp file and rebuilt the VLX.

It errored out because "no function definition: vlax-get-acad-object"

Note that a rebuild uses the original .PRV file.

After much investigation I figured that my PRV dated back to Vital Lisp (3rd party predecessor of Visual Lisp), and thus it did not have the Active-X toggled on (like my newer files do).

After I added the toggle to the .PRV and recompiled it worked fine.

John F. Uhden

0 Likes
Accepted solutions (1)
1,225 Views
1 Reply
Reply (1)
Message 2 of 2

john.uhden
Mentor
Mentor
Accepted solution

I suggest you remember to turn on that ActiveX toggle in the future, and check your old .PRV files before rebuilding a .VLX.

John F. Uhden

0 Likes