摘要: copyright :http://lee-mac.com/quote.html The Apostrophe (单引号) The apostrophe or single-quote character marks an expression or symbol as a literal expression(Returns an expression without evaluating it... 阅读全文
posted @ 2014-07-30 16:02 BingBox 阅读(303) 评论(0) 推荐(0) 编辑
摘要: Further Reading:http://lee-mac.com/mapcarlambda.html 官方说明: (mapcar ... ) 将作为本函数参数的一个或多个表的各个元素提供给指定函数进行求值,并将由求值结果构成的表返回。 list1... listn 一个或多个表。表的数目必须与 function 参数中要求的参数个数相等。 返回值:返回由结果组成的表。 (setq... 阅读全文
posted @ 2014-07-30 13:47 BingBox 阅读(826) 评论(0) 推荐(0) 编辑
摘要: by http://lee-mac.com/autoloading.html#autoload Method 1:Using the Startup Suite (加载/卸载应用程序) 快捷键:ap Method 2: Using the ACADDOC.lsp Upon opening a drawing or starting a new drawing, AutoCAD will ... 阅读全文
posted @ 2014-07-30 11:31 BingBox 阅读(261) 评论(0) 推荐(0) 编辑
摘要: This tutorials aims to teach you how to create an error handler for your programs to deal with the clean-up operation when something in the code goes wrong. by:http://lee-mac.com/errorhandling.html ... 阅读全文
posted @ 2014-07-29 14:28 BingBox 阅读(1131) 评论(0) 推荐(0) 编辑
摘要: Introduction This tutorial centers around various ways to prompt for user input with a default option available upon the user pressing Enter. By http://lee-mac.com/promptwithdefault.html Note 1: On... 阅读全文
posted @ 2014-07-29 13:14 BingBox 阅读(249) 评论(0) 推荐(0) 编辑
摘要: 占位带修改 阅读全文
posted @ 2014-07-29 11:22 BingBox 阅读(135) 评论(0) 推荐(0) 编辑
摘要: This tutorial will give a brief overview of the defun function and moreover explain why localising variables is a good habit to get into. By http://lee-mac.com/localising.html (defun ([arguments] [... 阅读全文
posted @ 2014-07-29 11:07 BingBox 阅读(210) 评论(0) 推荐(0) 编辑
摘要: 1、变量名称不超过六位字符; 2、能用+1函数的不用(+ x 1),同理-1函数; 3、能在循环外运算的移到循环外; 4、能用整数的不用实数; 5、能用cons的不用append; 6、能一次计算出来不计算两次; 7、能通过函数功能过滤得到选择集的不用循环筛选; 8、能使用默认值的用默认值; 9、能通过系统变量改变绘图系统的不用命令改变; 10、能用+的不用*,能用*的不用/; ... 阅读全文
posted @ 2014-05-24 20:49 BingBox 阅读(667) 评论(0) 推荐(0) 编辑