SuperFlatten 2.0c Error Message not working!

SuperFlatten 2.0c Error Message not working!

Code_x
Advocate Advocate
106 Views
8 Replies
Message 1 of 9

SuperFlatten 2.0c Error Message not working!

Code_x
Advocate
Advocate

 

It's been a while since I got this superflatten LSP, and for some reason, it stopped working. Whenever I open any file and run the command, it gives me the error message below. Can someone tell me what the issue is, or if there is an updated version of superflatten LSP that works with AutoCAD 2024? Can you please share if you have it available. Thank you!

 

 

Error: no function definition: VLAX-ENAME->VLA-OBJECT

0 Likes
107 Views
8 Replies
Replies (8)
Message 2 of 9

Kent1Cooper
Consultant
Consultant

A line like this:

(vl-load-com)

in the AutoLisp file should prevent that error.  Is there such a line?

If not, first try typing that in at the Command: prompt yourself, then run the command.  If it works, we can get into where it should be added in the file.

Kent Cooper, AIA
0 Likes
Message 3 of 9

Code_x
Advocate
Advocate

I didn't help, still the same error..

0 Likes
Message 4 of 9

Kent1Cooper
Consultant
Consultant

The links I find are all to the Swamp, where I am not a member.  If it's un-copyrighted freeware, can you post the AutoLisp file?

Or, try an alternative such as @john.uhden 's SQUASH command, >here<.

Kent Cooper, AIA
0 Likes
Message 5 of 9

paullimapa
Mentor
Mentor

Do you get an error when you copy & paste this line and press enter at the command prompt:

(vlax-ename->vla-object (car(entsel)))

Paul Li
IT Specialist
@The Office
Apps & Publications | Video Demos
0 Likes
Message 6 of 9

paullimapa
Mentor
Mentor

do you get this far in running it?

paullimapa_0-1758224873497.png

Share a screenshot of your commandline

 


Paul Li
IT Specialist
@The Office
Apps & Publications | Video Demos
0 Likes
Message 7 of 9

Code_x
Advocate
Advocate

No, I don’t. I entered the command you posted here, and it asked me to select an object. When I did, it gave me the error shown below.

 


(vlax-ename->vla-object (car(entsel)))
Select object: ; error: no function definition: VLAX-ENAME->VLA-OBJECT

0 Likes
Message 8 of 9

paullimapa
Mentor
Mentor

So you’re definitely missing the vl library functions. Perhaps try resetting AutoCAD 


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

pendean
Community Legend
Community Legend

@Code_x Are you by chance running the LT version of AutoCAD2024? Or an OEM?

 

TheSwamp membership is free and takes less than a minute to sign up/activate if access to that code is that important to you 🙂

0 Likes