AutoCAD for Mac Forum
Welcome to Autodesk’s AutoCAD for Mac Forums. Share your knowledge, ask questions, and explore popular AutoCAD for Mac topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Tutorial for writing macros, editing CUI?

10 REPLIES 10
SOLVED
Reply
Message 1 of 11
sarra.cenia
1302 Views, 10 Replies

Tutorial for writing macros, editing CUI?

Does anyone have a tutorial or resource for how I can learn how to write / incorporate macros (and possibly some lisps) into the CUI for Autocad LT for Mac? It seems like there is a lot of potential for this, but I am a total newbie and need somewhere to start.

Using Autocad LT for Mac 2015 on Yosemite
10 REPLIES 10
Message 2 of 11
maxim_k
in reply to: sarra.cenia

HI,

 

Here is a link to "AutoCAD for Mac 2011 User Interface Customization Tutorial" (could be applied to LT)

http://www.youtube.com/watch?v=G8OlU1g3mY0

 

I also attached interesting AU Handout ("Introduction to Macro Writing" by Kate Morrical)

 

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
Message 3 of 11
maxim_k
in reply to: sarra.cenia

HI,
Just want to add that AutoLISP is not available in LT version, you can try to use DIESEL macros, but on Mac platform there are some limitations, for example:
- you can not use MODEMACRO system variable to modify Status line, as there is no Status line in Mac version of AC - it is a feature

- you can not use USERS1...5 variables to store strings (although you can use USERI1...5 ans USERR1...5 to store integers and reals - it is a feature

- you can not disable menu items in pull-down menus with ~ in DIESEL macros - this is a bug, because for pop-up menus this works (but ordinary user can not customize pop-up menus via CUI command, it is possible only by direct editing of CUI files).

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
Message 4 of 11
sarra.cenia
in reply to: maxim_k

Thanks Maxim! I passed along the instructions to a coworker and she is figuring it out.

Using Autocad LT for Mac 2015 on Yosemite
Message 5 of 11
Anonymous
in reply to: maxim_k

Maxim,

 

     As far as lisp apps or macros go, if I am going to learn one or the other, does one have limitations that prevent functionality? Which should I learn? I've coded lisp many years ago.

 

John

Message 6 of 11
maxim_k
in reply to: Anonymous


@Anonymous wrote:

Maxim,

 

     Which should I learn? ...

 

John


Hi John,

 

It all depends on your needs.

AutoLISP is a programming language and therefore you can build  "intelligence" into it.

Macros has no "intelligence" and is just a list of commands in the same order that you would type them to the AutoCAD command prompt.

 

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
Message 7 of 11
moneumiko
in reply to: maxim_k

Hi, 10 years later of what you wrote here - does the current version of AutoCAD LT for Mac support users1-5 variables?

Message 8 of 11
maxim_k
in reply to: moneumiko

Hi @moneumiko ,

 

I'm not sure, because I don't have access to AutoCAD LT now.

But I think nothing has changed.


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 9 of 11
maxim_k
in reply to: moneumiko

@moneumiko ,

 

From AutoCAD LT online help:

"Note: The USERS1-5 system variables are not available in AutoCAD LT for Mac OS."

 


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 10 of 11
moneumiko
in reply to: maxim_k

Thanks! That's a pity... I use a lot of macros, also with the Diesel variables. I'm going to get a mac (at last!) in near future but I think I'll stick to the windows AutoCAD (either through parallels or just switching between devices). Although I will check the mac one too!

Message 11 of 11
maxim_k
in reply to: moneumiko

Hi @moneumiko ,

 

You can also leave your feedback here:

Product feedback


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

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report

”Boost