| Author |
Message |
chall73
Guest
|
Posted:
Tue Apr 05, 2005 12:56 am Post subject:
Lisp Routine Locations |
|
|
Question.
What is the best way to set up the location for lisp files? Currently the trend in my small company is to put all lisp routines in one file. I just started to learn about lisp routines and this seemed fine at first because everything was together but now when I try to incorporate stuff that I write it messes it up.
Thoughts
|
|
| Back to top |
|
 |
Bob Quinn
Guest
|
Posted:
Tue Apr 05, 2005 4:34 am Post subject:
Re: Lisp Routine Locations |
|
|
definately split up and put into directories, this will help you organize.
Use a common library file that loads each file on demand to save on
memory.....
"chall73" <nospam@address.withheld> wrote in message
news:33094571.1112648203580.JavaMail.jive@jiveforum1.autodesk.com...
| Quote: | Question.
What is the best way to set up the location for lisp files? Currently the
trend in my small company is to put all lisp routines in one file. I just |
started to learn about lisp routines and this seemed fine at first because
everything was together but now when I try to incorporate stuff that I write
it messes it up.
|
|
| Back to top |
|
 |
Warren Trost
Guest
|
Posted:
Tue Apr 05, 2005 8:05 pm Post subject:
Re: Lisp Routine Locations |
|
|
I would recommend making the folder outside of AutoCAD so they don't get
deleted in an upgrade or uninstall. I recommend using C:\CLISP for custom
lisp. I use C:\WLT\LISP14A, 14B, 15, 16 as I have approx 1500+ in the first
two and my DOS file manager doesn't like more than that. Yes, I still like
DOS for some types of useage. I also put all of my stuff under my initials
as it is much easier to erase my stuff if I change companies.
"chall73" <nospam@address.withheld> wrote in message
news:33094571.1112648203580.JavaMail.jive@jiveforum1.autodesk.com...
| Quote: | Question.
What is the best way to set up the location for lisp files? Currently the
trend in my small company is to put all lisp routines in one file. I just |
started to learn about lisp routines and this seemed fine at first because
everything was together but now when I try to incorporate stuff that I write
it messes it up.
|
|
| Back to top |
|
 |
Tim Decker
Guest
|
Posted:
Tue Apr 05, 2005 9:12 pm Post subject:
Re: Lisp Routine Locations |
|
|
Here is a sample from our acaddoc.lsp, that we have located in a directory
far far away...
(defun C:ATR ()
(load "ATR")
(C:ATR)
)
(defun C:RV ()
(load "RV")
(C:RV)
)
(defun C:HOOK ()
(load "HOOK")
(C:HOOK)
)
these functions allow us to keep all of our lisp in their own separate
files, and load them on demand, as you can see, very simple coding.
"Bob Quinn" <rcm@eesc.com> wrote in message news:4251b2d5$1_1@newsprd01...
| Quote: | definately split up and put into directories, this will help you organize.
Use a common library file that loads each file on demand to save on
memory.....
"chall73" <nospam@address.withheld> wrote in message
news:33094571.1112648203580.JavaMail.jive@jiveforum1.autodesk.com...
Question.
What is the best way to set up the location for lisp files? Currently the
trend in my small company is to put all lisp routines in one file. I just
started to learn about lisp routines and this seemed fine at first because
everything was together but now when I try to incorporate stuff that I
write
it messes it up.
Thoughts
|
|
|
| Back to top |
|
 |
|
|
|
|