how to load auto lisp applications on autocad for mac

how to load auto lisp applications on autocad for mac

Anonymous
Not applicable
14,548 Views
25 Replies
Message 1 of 26

how to load auto lisp applications on autocad for mac

Anonymous
Not applicable

I use "appload" to load auto lisp application on autocad for Mac ,but it doesn't work

Accepted solutions (1)
14,549 Views
25 Replies
Replies (25)
Message 2 of 26

maxim_k
Consultant
Consultant
Welcome to Autodesk Forums!

Hi,

Do you mean AutoLISP application doesn't work in AutoCAD after you load it?
What do you see at the command prompt when you:
- load AutoLISP routine with APPLOAD command
- start command after loading it

Just one note: if AutoLISP routine was created for AutoCAD for Windows, it may not work in AutoCAD for Mac, because AutoCAD for Mac doesn't support all AutoLISP functions from PC version. For example it doesn't support Visual LISP functions and DCL.

Maxim

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 26

Anonymous
Not applicable

I have the same problem. Unfortunately I'm using Mac and I need a lisp file to work on Autocad. It fails to load but how can I solve this problem?

0 Likes
Message 4 of 26

maxim_k
Consultant
Consultant
Welcome to Autodesk Forums!

Hi Yen Phuong,

Do you use APPLOAD command to load AutoLISP file?
If yes, what do you see in the command window after you select lisp file and pick on "Load" button?
It should be something like this:

_appload Unable to load test.lsp file.
or:
_appload test.lsp successfully loaded.

Was lisp file you are trying to use in AutoCAD for Mac created on PC?
If yes, it may contain functions that are not supported on Mac.

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 5 of 26

Anonymous
Not applicable

Yes, I've used APPLOAD. When I'm asked to pick the Lisp file, I choose it and then click on "load". It then says it successfully loaded. But I need to close that window (picture below) to get back to Autocad. There I have the choice between "open" and "cancel". Whatever I choose - the command box then says APPLOAD

failed.

Screenshot 2019-02-22 23.45.04.png

 

I don't know what this lisp was created on but I wanted to try it on Windows next week. Maybe it works there then it's because I use Mac. 

Is there any way I can transfer it to Mac?

0 Likes
Message 6 of 26

maxim_k
Consultant
Consultant
Can you share (attach) that lisp file here? I can look at it closer.

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 7 of 26

maxim_k
Consultant
Consultant

If you mean klot.lsp, then I've found it and tried on my side.
It loads with APPLOAD without errors (I close APPLOAD window with Cancel button). "Open" button allows to load lisp and close APPLOAD window in one step.
Furthermore, looks like this lisp works fine on Mac.

 

But I have to mention that when I was trying to load that lisp for the first time, AutoCAD sowed an alert:2019-02-24_19-32-45.png

If you want lisp file to be loaded, you need to select "Load" in this window.

 

Another lisp file - klotho11.lsp most likely will not work correctly in AutoCAD for Mac, as it uses dialog box(es) defined in accomplished DCL file, but AutoCAD for Mac doesn't support such dialog boxes (DCL files).

 


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 8 of 26

Anonymous
Not applicable

Oh well..that's super strange why it isn't working then. This window appeared when I first tried to load this lisp and I did click on "load" too. So why doesn't it work?

Do you think the problem might be my Autocad Version? I have the one for educational purposes (2019).

Or maybe my settings? I'll attach some files for you.

 

This is error message in my command box:

 

Screenshot 2019-02-27 17.32.14.png

 

Here are some of my settings:

Screenshot 2019-02-27 17.32.57.png

 

I also added the path of my lisp file to the support file path after it didn't work. Many people suggested to do so but still it won't work. I don't even know if it's necessary?

Screenshot 2019-02-27 17.33.22.png

 

Could you tell me which version (2017,2018,2019) you have used to try this file so I can download it?

0 Likes
Message 9 of 26

pendean
Community Legend
Community Legend
Post your actual LISP file here please, let's all try it.

0 Likes
Message 10 of 26

maxim_k
Consultant
Consultant

Attach your LSP file.

You may try my one (see attached). It loads and work on my side.

 


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 11 of 26

Anonymous
Not applicable

Sure, here it is

0 Likes
Message 12 of 26

maxim_k
Consultant
Consultant
I can load attached lsp without any issues on my side.
What if you put klot.lsp directly to Desktop? Do you have the same error when you load it with APPLOAD command?
Post screenshot of command window.

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 13 of 26

maxim_k
Consultant
Consultant
Accepted solution
I have found the roots of the problem:
the letter ß in the name of the folder where you put lip file.

If you will rename "Hausarßeit Straßenentwurf" folder to something without ß letter, you will be able to load lisp file.

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 14 of 26

Anonymous
Not applicable

Oh....this is a kinda weird reason. But at least we have solved the problem! Maybe it's good to know for future German users.

I was about to say that I left the file in my downloads folder and it is working. But you're faster.

 

Thanks a lot for your effort and have a nice day!

0 Likes
Message 15 of 26

vinaydillwala70
Community Visitor
Community Visitor

error: no function definition: LOAD_DIALOG

0 Likes
Message 16 of 26

maxim_k
Consultant
Consultant
Welcome to Autodesk Forums!

Hi @vinaydillwala70,

>>>>>error: no function definition: LOAD_DIALOG
DCL is supported in AutoCAD for Mac only since 2021 version.

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 17 of 26

amr_soliman77PGT
Explorer
Explorer

I have been 2 month looking for lisp file work with Mac OS and this file work but please I need lisp for total area and total length 

do u have any lisp file for that please?

0 Likes
Message 18 of 26

amr_soliman77PGT
Explorer
Explorer

please u have total area lisp for Mac ? or total length ? thanks 

 

0 Likes
Message 19 of 26

maxim_k
Consultant
Consultant

Hi @amr_soliman77PGT ,

 


@amr_soliman77PGT wrote:

please u have total area lisp for Mac ? or total length ? thanks 

 


Total length is >>>>here<<<<
For total area you can use AREA command with Add option.

Or try attached TAREA.LSP from Lee Mac (adapted for AutoCAD for Mac)


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
Message 20 of 26

amr_soliman77PGT
Explorer
Explorer

thanks very much

 

0 Likes