LISP file not opening on Autocad2025

LISP file not opening on Autocad2025

karahandemir
Explorer Explorer
2,600 Views
10 Replies
Message 1 of 11

LISP file not opening on Autocad2025

karahandemir
Explorer
Explorer

When I drag and drop the LISP file into AutoCad 2025 it doesn't work. I don't get any errors. I uploaded a video for this issue.

0 Likes
Accepted solutions (1)
2,601 Views
10 Replies
Replies (10)
Message 2 of 11

maxim_k
Consultant
Consultant

Hi @karahandemir ,

 

Can you share the AutoLISP file itself?

Why do you think the new command that is added after loading this AutoLISP file is COUNT?

COUNT is the internal AutoCAD command:

https://help.autodesk.com/view/ACDMAC/2025/ENU/?guid=GUID-85CCF100-3799-4BCE-AE95-245D770B5046

 

To find out the command that is defined in this LISP, you need to open it in a plain text editor and find the line:

(defun C: 

The word after C: is the new command name, which you need to use.

 


Do you find the posts helpful? "LIKE" these posts!
Have your question been answered successfully? Click 'ACCEPT SOLUTION' button.


Maxim Kanaev
Architect
MARSS

MacACAD | Linkedin

Etiquette and Ground Rules of Autodesk Community
0 Likes
Message 3 of 11

paullimapa
Mentor
Mentor

The answer to your problem is as shown in the command line response after you attempted to load the lisp:

paullimapa_0-1729921275378.png

vl-load-com function which this lisp requires is not supported on the Mac


Paul Li
IT Specialist
@The Office
Apps & Publications | Video Demos
Message 4 of 11

karahandemir
Explorer
Explorer

Thanks for your answer, I'm adding LISP

0 Likes
Message 5 of 11

karahandemir
Explorer
Explorer


is there a solution to this? I cannot use any LISP files that I use in Windows operating system in macOS operating system 😞

0 Likes
Message 6 of 11

paullimapa
Mentor
Mentor

One solution is to look for lisp routines that are supported on the Mac version of AutoCAD which don’t require vl functions. 


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

paullimapa
Mentor
Mentor

As @maxim_k responded why aren’t you using AutoCADs built in Count command?


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

karahandemir
Explorer
Explorer
because this creates a table with block images for me and makes my job easier. I also wrote it here because it doesn't work not only for this LISP, but also for multiple LISP files I use. Thank you..
0 Likes
Message 9 of 11

paullimapa
Mentor
Mentor
Accepted solution

There are just lisp support limitations on the Mac version where the only work around would be to continue to use the Windows version of AutoCAD on the Mac by running Parallels 


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

thanhdatlc1982
Explorer
Explorer

I also have the same problem, adding Lisp to cad does not work, please help me, I am using cad for mac 2025 I have attached lisp, it is lisp for drawing flexible air ducts. My email: [email protected] Thank you!

0 Likes
Message 11 of 11

paullimapa
Mentor
Mentor

I hope you’ve read through this thread. The solution has already been given


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