JORYROJ Posted August 11, 2011 Share Posted August 11, 2011 hi all, i am new in macro and diesel, but i know (about 30%...i guess!) a little about how to use the CUI. i just want to ask, is there an easy way to understand the relation ship of macro/diesel and autolisp? if there is a link or a book that you can suggest would be appreciated.thank you Quote Link to comment Share on other sites More sharing options...
ReMark Posted August 11, 2011 Share Posted August 11, 2011 Kate Morrical writes that "A macro is a text string that combines commands and options for repeated use." To learn more about macros read Kate's Intro to Macros here...http://aucache.autodesk.com/au2009/sessions/5097/AU09_SpeakerHandout_CP214-1.pdf AutoLISP is a sophisticated programming language. Learn more about LISP here...http://www.jefferypsanders.com/index.html Diesel definition: Dumb Interpretatively Evaluated String Expression Language used in AutoCAD. "How to write a Diesel Macro" by Ralph Grabowski....http://www.upfrontezine.com/tailor/tailor17.htm Quote Link to comment Share on other sites More sharing options...
JORYROJ Posted August 11, 2011 Author Share Posted August 11, 2011 thanks ReMark, i will go thru those links and have it a try. Quote Link to comment Share on other sites More sharing options...
BlackBox Posted August 11, 2011 Share Posted August 11, 2011 Unless you're using "LT", DIESEL will not be 'as' critical to understand... what IS critical to know about macros is the syntax, how to provide an "enter", or "pause for user input," etc. I think you'll find AutoLISP, and Visual LISP to be much more 'complete' languages by comparison to DIESEL. Especially as LISP provides the ability for error checking, more functionality, etc. Sometimes examples help the most... is there a simple macro that you had in mind? Perhaps I can show you two examples of doing the same thing with both DIESEL, and LISP? Quote Link to comment Share on other sites More sharing options...
ReMark Posted August 11, 2011 Share Posted August 11, 2011 What is it that you are trying to do? A macro and a lisp routine will both get the job done. However, a macro does a "down and dirty" job of it while a lisp routine is usually more elegant. Think brute force versus finesse. Quote Link to comment Share on other sites More sharing options...
BlackBox Posted August 11, 2011 Share Posted August 11, 2011 A macro and a lisp routine will both get the job done. However, a macro does a "down and dirty" job of it while a lisp routine is usually more elegant. Think brute force versus finesse. The irony in that statement, while I think you're right, is that LISP (especially Visual LISP) is SO much more powerful than DIESEL. Anyway, I'm probably getting too far ahead of ourselves at this point. LoL Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.