Jump to content

Autolisp for autocad 2012 on mac osx 10.7


Recommended Posts

Posted

Hi,

I am using Autocad 2012 for mac osx 10.7 and when i appload the auto lisp routine for TLen for example i got this message :

 

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

Although i used this routine previously in auto cad 2011 with Mac OS X Version 10.5

 

Does anyone has a solution for this problem or there must be Autolisp routine compatible with Mac OS X Version 10.7

 

Thanks for ur help.

Posted

Welcome to CT.

 

Are you sure it was working previously on a MAC? AFAIK MAC does not support ActiveX/COM and that is exactly what vl-load-com does: It loads the ActiveX/COM object enablers of Visual Lisp.

 

Unfortunately for MAC you're stuck with only using the old AutoLisp functions, and I think even dialogs (DCL) are a no-no on a MAC. Perhaps use this version instead: http://www.turvill.com/t2/free_stuff/tlen.lsp

Posted

Thank You ! It really worked !

Could you tell me where i can find more auto lisp routine for my auto cad :roll:

Posted

There are many websites where you can find custom lisp routines. One of the best is at Cadalyst magazine. Look in under Tipe, Tools and Training > CAD Tips. You can also find free lisp routines for downloading at the dotSoft and CADTools websites.

 

I saved the best for last. Visit Lee Mac's website (he is a forum member here at CT) as well. You'll be treated to some real gems. http://lee-mac.com/

Posted

+1 for all those, especially Lee's.

 

The problem you might face though is as I've stated previously: "MAC does not allow ActiveX/COM". And since around 2000 ADesk's added support for ActiveX through Visual Lisp. Thus some of the routines you'll find might be using these extensions. The only way you can be sure is to check the source for anything using functions starting with vlax or vla. Even if so, you might try to run them anyway, I'm not sure if the vlax-curve-* functions would work on MAC - you might be lucky if they do.

 

The best advice I can give you is to actually try out lisping for yourself. Start off by trying to figure out what's going on inside the routines you download. Look at sites like Lee's and AfraLisp. Or even some listed in this thread. That way you can even modify some routines yourself to get them working exactly as you want, and even make some yourself.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...