Auto LISP for MAC - Breakall.lsp

Auto LISP for MAC - Breakall.lsp

matteoYEMXT
Explorer Explorer
1,608 Views
8 Replies
Message 1 of 9

Auto LISP for MAC - Breakall.lsp

matteoYEMXT
Explorer
Explorer

Dear community,

I hope find you well. I'm reaching out to you through this medium because I need assistance with AutoLISP files for AutoCAD and the MacOS Sonoma operating system. Let me explain in detail:


- I've found the breakall.lsp file online, which allows cutting lines at each intersection point. I can upload it but this message is shown:

 

"; error: vl-load-com not supported on "Mac OS X Version 10.16 (x86_64)"

 

This file is supported for AutoCAD on Windows, but I don't know how to modify the script so that it can work on Mac.


Currently, I work with AutoCAD 2019, but I would like the files to work on other versions as well.

 

Thanks in advance for your help,

Matteo

 

0 Likes
1,609 Views
8 Replies
Replies (8)
Message 2 of 9

maxim_k
Consultant
Consultant

Hi Matteo,

@matteoYEMXT 

 

I looked at the LSP file you attached - it contains a lot of functions which are not supported in AutoCAD for Mac.

These are ActiveX functions whose names begin with VLA-, VLAX-.

Thus this AutoLIPS must be completely rewritten (if possible) in order to be used in 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
0 Likes
Message 3 of 9

maxim_k
Consultant
Consultant

@matteoYEMXT ,

 

Forgot to mention.

You wrote:

>>>>I need assistance with AutoLISP files for AutoCAD and the MacOS Sonoma operating system

>>>>I work with AutoCAD 2019

AutoCAD for Mac 2019 is not supported on macOS Sonoma, so I recommend you to upgrade to the latest (2025) version as soon as possible.


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 4 of 9

pendean
Community Legend
Community Legend

@matteoYEMXT wrote:

...This file is supported for AutoCAD on Windows, but I don't know how to modify the script so that it can work on Mac....


There is a dedicated LISP forum that may be able to help with a re-write, here is the link

https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/bd-p/130 

 

Is there a specific single function in that LISP that you use more often that not and cannot live without? It might help if you narrow it down to just that one for now too. just remember, they are all end users just like you, they may only wish to teach you to rewrite the code or choose not to do much either, its their time and choice to do as they wish. 

0 Likes
Message 5 of 9

matteoYEMXT
Explorer
Explorer

Dear @pendean and @maxim_k thanks for your help.

 


There is a dedicated LISP forum that may be able to help with a re-write, here is the link

https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/bd-p/130 

I checked earlier, but I will take a look again!

 


Is there a specific single function in that LISP that you use more often that not and cannot live without? It might help if you narrow it down to just that one for now too. just remember, they are all end users just like you, they may only wish to teach you to rewrite the code or choose not to do much either, its their time and choice to do as they wish. 


In this sense I need to use a command in order to Break lines in each intersection. I'm working with traffic flows into spaces, so it will be helpful if I can select all the lines and break them in all the intersection. Otherwise, it'll take me a lot of time and effort.

Thanks again

 

0 Likes
Message 6 of 9

2019120137FFU
Community Visitor
Community Visitor

Dear community,

 


- I've found the legend.lsp file online, which allows cutting lines at each intersection point. I can upload it but this message is shown:

 

"; error: vl-load-com not supported on "Mac OS X Version 10.16 (x86_64)"

 

can you help me fast plz ?

0 Likes
Message 7 of 9

maxim_k
Consultant
Consultant

Hi @2019120137FFU ,

 

1/ Are you sure that you attached the correct LSP file?

I've looked at it and have found that it doesn't allow cutting lines at each intersection point, but rathe creates a legend of specified lines used in a drawing.

2/ In any case the LSP file you attached uses a lot of functions which are not supported in AutoCAD for Mac.

These are ActiveX functions whose names begin with VLA-, VLAX-.

Thus this AutoLIPS must be completely rewritten (if possible) in order to be used in 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
0 Likes
Message 8 of 9

2019120137FFU
Community Visitor
Community Visitor
ok do u have legend lsp for mac ??
0 Likes
Message 9 of 9

maxim_k
Consultant
Consultant

@2019120137FFU 


@2019120137FFU wrote:
ok do u have legend lsp for mac ??

No


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