Visual LISP, AutoLISP and General Customization
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

how to load lisp file.

3 REPLIES 3
Reply
Message 1 of 4
debu11
364 Views, 3 Replies

how to load lisp file.

hi to all.
i am new user of this website.
i want to know how to load the lisp file to run. i forget the command.
3 REPLIES 3
Message 2 of 4
Anonymous
in reply to: debu11

(load "FILENAME")

wrote in message news:5154981@discussion.autodesk.com...
hi to all.
i am new user of this website.
i want to know how to load the lisp file to run. i forget the command.
Message 3 of 4
Anonymous
in reply to: debu11

...or APPLOAD
___

"Jim Claypool" wrote in message
news:5154998@discussion.autodesk.com...
(load "FILENAME")

wrote in message news:5154981@discussion.autodesk.com...
hi to all.
i am new user of this website.
i want to know how to load the lisp file to run. i forget the command.
Message 4 of 4
stevor
in reply to: debu11

And you can usually drag the file into the graphic screen.
For often used files, there are automatic methods to load them upon demand. Read about 'AUTOLOAD' or numerous other solutions. I use the temporarily defined target command name to load its file, with a short bit of lisp code, that will load the file, into a main file that is loaded each session:
(defun c:Your-Cmd () (if (load "c://Some-path//You-File-name") (c:Your-Cmd ) ) )
The ' (c:Your-Cmd ) ' executes that command, if all went OK.
S

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

Post to forums  

Autodesk Design & Make Report

”Boost