tag:blogger.com,1999:blog-20243274.post114783901476212415..comments2023-10-03T11:51:25.955-05:00Comments on The Lazy Drafter: Basic LispTodd M. Shackelfordhttp://www.blogger.com/profile/02135634177916022070noreply@blogger.comBlogger3125tag:blogger.com,1999:blog-20243274.post-30919854653752562902014-09-16T11:29:34.621-05:002014-09-16T11:29:34.621-05:00This is very helpful thanks, any chance you have a...This is very helpful thanks, any chance you have an example of LISP's to edit blocks? I need to replace the year in about a 900 drawings.Anonymoushttps://www.blogger.com/profile/16370474813993970768noreply@blogger.comtag:blogger.com,1999:blog-20243274.post-12079825901258134112007-10-10T15:13:00.000-05:002007-10-10T15:13:00.000-05:00A couple of other useful LISP programs that everyo...A couple of other useful LISP programs that everyone should have!<BR/><BR/>Most CAD users know how to modify their PGP file to customize their command aliases, but sometimes you think of a good key sequence that won't fit into the PGP. For instance, you can save one key stroke by defining a new lisp program ZE for "zoom" "extents".<BR/><BR/>(defun c:ze ()(command "zoom""e")(princ))<BR/><BR/>It's simple, and everyone knows saving even one keystroke speeds up your drafting. Want a few others?<BR/><BR/>(defun C:zd ()(COMMAND "ZOOM" "D")(princ))<BR/><BR/>(defun c:zw ()(command "zoom" "w")(princ))<BR/><BR/>(defun c:zp()(command "zoom" "p")(princ))<BR/><BR/>This type of file is simple to make and works with any nested command that you may want to use.<BR/><BR/>(defun c:tri ()(command ".POLYGON" "3" pause "I" pause)(princ))<BR/><BR/>(defun c:squ ()(command ".POLYGON" "4" pause "I" pause)(princ))<BR/><BR/>Play around with it and see what you can come up with.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-20243274.post-1149126582027091932006-05-31T20:49:00.000-05:002006-05-31T20:49:00.000-05:00No mention of VLIDE?No mention of VLIDE?Anonymousnoreply@blogger.com