Visual LISP, AutoLISP and General Customization
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Reply
Message 1 of 6
thavasi1982
494 Views, 5 Replies

Auto load

Hi,
I have 18 Lisp files.
I must use this files for my works.
Each and Every time i have to load that all files.
Is there any way to Auto Load my Lisp fies without using "APPLOAD" like inbuilt Lisp file such as "actext.lsp"
Please Give me the solution.
5 REPLIES 5
Message 2 of 6
devitg
in reply to: thavasi1982

You can add to the starup suite or.
If you wish to have LISP code loaded into every document,
;;; you should add your code to acaddoc.lsp.
it is located at the acad support folder
Message 3 of 6
umesh.emerson
in reply to: thavasi1982

Yes You can,You need to add those files in Contents (Brifecase),
Give command appload then go to content add those file you will get every time without loading lisp file
Message 4 of 6
Anonymous
in reply to: thavasi1982

wrote in message news:6297810@discussion.autodesk.com...

> Is there any way to Auto Load my Lisp fies without using "APPLOAD"
> like inbuilt Lisp file such as "actext.lsp"

Create a file named "acaddoc.lsp" and put it in the TOP directory
in your support file search path.

Inside this file, include load statements for your lisp files, like
this:

(load"mylisp")
(load"myotherlisp")
(load"\\\\server\\share\\lisp\\mylisp_outside_the_path")

This file is portable between versions and installs.
Avoid the 'startup suite'.


--
R.K. McSwain
http://cadpanacea.com
Message 5 of 6
dgorsman
in reply to: thavasi1982

Gah, never mind - switched threads before going for coffee at lunch! Edited by: dgorsman on Dec 2, 2009 4:15 PM
Note to self: pay more attention...
----------------------------------
If you are going to fly by the seat of your pants, expect friction burns.
"I don't know" is the beginning of knowledge, not the end.


Message 6 of 6
scot-65
in reply to: thavasi1982

oh Oh OH ! ! ! pick me, Pick ME !

Still yet another method...
I clipped this off one of the earlier inquiries of this same type.
Suggest you to create and store the routines in a dedicated folder.
This will filter out unwanted files (FAS and DCL's) from loading...
Edit the path that is shown inside this attached file.
This does NOT require a support path declaration (OPTIONS).
Just place this single routine in the startup suite and you're set (or acaddoc.lsp or acad.lsp or mymenu.mnl...).

(change the attached file's extension to LSP when done)
I noticed the phrase (vl-load-com) is not inside... add that line also.

Unknown author - he needs credit for this.

Scot-65
A gift of extraordinary Common Sense does not require an Acronym Suffix to be added to my given name.


Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report

”Boost