South Plains AutoCAD Users Group

 


Loading LISP Routines :

Load.Lsp Lisp routine to load Lisp routines. Put this in your ACAD.LSP file: (load "load"). Now all you have to do is type LO (enter) then the name of the lisp routine, assuming of course that the Lisp file is located within ACAD's path statement. (see dialog below)
Here are two examples on how to load Lisp without reloading the routine everytime :

^c^c^p(cond ((null c:clayer) (load "layers")) (t (princ))) clayer ^p
^c^c^p(if c:clayer (princ)(load "layers")) clayer ^p

Note: If you don't want to retype all of this, all you have to do is scroll,(right click)copy, and paste into your Menu file.

Here is a simple menu macro that works as a Pick Freeze "*" :

Layer S (cdr (assoc 8 (entget (car (entsel)))));\F * ;

 


Powered By SGI Servers
SGI Powered Web Site
Page Maintained & Updated by Jeff Tippit
Original Page Design & Implementation By Patrick M. Slattery
Copyright © 1996-2001 SPAUG
Last Updated December 08, 2006