Load lisp files automatically

Load lisp files automatically

vishshreevT578L
Advocate Advocate
12,954 Views
7 Replies
Message 1 of 8

Load lisp files automatically

vishshreevT578L
Advocate
Advocate

Hello....

 

I have lisp files which need to load every time in every drawing.

 

Is there any way that If I load it one time in one drawing it will automatically load for each drawing.

 

Thanks,

 

Vishal Gawde

Shreev
0 Likes
12,955 Views
7 Replies
Replies (7)
Message 2 of 8

braudpat
Mentor
Mentor

 

Hello from France

 

Welcome to the Autodesk / AutoCAD Forums !

 

YES with the APPLOAD command, you can use the "ACAD AutoLoad" Feature

and you can have until 50 Routines loaded at each New DWG or each loaded existing DWG ...

 

Please look at the French PDF file attached ... SORRY for the French version !?

 

Regards, Patrice

 

Patrice ( Supporting Troops ) - Autodesk Expert Elite
If you are happy with my answer please mark "Accept as Solution" and if very happy please give me a Kudos (Felicitations) - Thanks

Patrice BRAUD

EESignature


Message 3 of 8

dbroad
Mentor
Mentor

In addition be sure that your lisp is in a trusted folder (which it probably already is).

 

Another approach is to create an acaddoc.lsp file and add the load or autoload statements for your files.  Acaddoc.lsp is automatically loaded each time a drawing is opened.

 

For further information, see:

https://knowledge.autodesk.com/search-result/caas/CloudHelp/cloudhelp/2016/ENU/AutoCAD-Customization...

 

Architect, Registered NC, VA, SC, & GA.
0 Likes
Message 4 of 8

braudpat
Mentor
Mentor

 

Hello

 

+1 with Mr Dbroad

 

Please put your LSP files into an approved / trusted ACAD folder !

 

or you will have to run with SECURELOAD = 0 : unsecure !!

 

Regards, Patrice

 

Patrice ( Supporting Troops ) - Autodesk Expert Elite
If you are happy with my answer please mark "Accept as Solution" and if very happy please give me a Kudos (Felicitations) - Thanks

Patrice BRAUD

EESignature


0 Likes
Message 5 of 8

gccdaemon
Collaborator
Collaborator

Also, in the CUI command, you can right click on LISP FILES and select LOAD LISP. This will add the lisp to your cui and should load in every new drawing.

lisp.png

Andrew Ingram
Civil 3D x64 2019
Win 10 x64 Pro
Intel Xeon E5-1620
32 GB Ram
Message 6 of 8

john.uhden
Mentor
Mentor

@dbroad and @braudpat and @gccdaemon have all given you sage advice (as they always do).

 

I personally like to use acaddoc.lsp because in a networked environment you can make one customization that serves all.

John F. Uhden

0 Likes
Message 7 of 8

gccdaemon
Collaborator
Collaborator

I have all our custom palettes, toolbars, pipe networks, templates, lisp and plot files/setting stored in a standards folder under every users C:\ drive in case of network/server failure. I upload customization's (including a default ENU folder with lisp loaded into the CUI) to the server and the users update their locally stored items with some custom commands.

 

...but that's just how I run things. 😉

Andrew Ingram
Civil 3D x64 2019
Win 10 x64 Pro
Intel Xeon E5-1620
32 GB Ram
0 Likes
Message 8 of 8

Anonymous
Not applicable

When you get windows 10, you will not be able to put ANYTHING in C:\

I ended up creating a new directory under  C:\

Then add it to Trusted Locations.

 

0 Likes