Lisp Routine Locations
CADForums.net Forum Index CADForums.net
Discussion of AutoCAD and other CAD software.
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web cadforums.net
Lisp Routine Locations

 
Post new topic   Reply to topic    CADForums.net Forum Index -> Customization
Author Message
chall73
Guest





Posted: Tue Apr 05, 2005 12:56 am    Post subject: Lisp Routine Locations Reply with 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.

Thoughts

Back to top
Bob Quinn
Guest





Posted: Tue Apr 05, 2005 4:34 am    Post subject: Re: Lisp Routine Locations Reply with 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...
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.
Quote:

Thoughts
Back to top
Warren Trost
Guest





Posted: Tue Apr 05, 2005 8:05 pm    Post subject: Re: Lisp Routine Locations Reply with quote

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.
Quote:

Thoughts


Back to top
Tim Decker
Guest





Posted: Tue Apr 05, 2005 9:12 pm    Post subject: Re: Lisp Routine Locations Reply with quote

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
 
Post new topic   Reply to topic    CADForums.net Forum Index -> Customization All times are GMT
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum




Windows Server DSP VoIP Electronics New Topics
Contact Us
Powered by phpBB