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

Load lisp files automatically

7 REPLIES 7
Reply
Message 1 of 8
vishshreevT578L
11265 Views, 7 Replies

Load lisp files automatically

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
7 REPLIES 7
Message 2 of 8
braudpat
in reply to: vishshreevT578L

 

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
in reply to: vishshreevT578L

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.
Message 4 of 8
braudpat
in reply to: dbroad

 

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


Message 5 of 8
gccdaemon
in reply to: vishshreevT578L

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

@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

Message 7 of 8
gccdaemon
in reply to: john.uhden

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
Message 8 of 8
bridgeskent
in reply to: gccdaemon

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.

 

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

Post to forums  

Autodesk Design & Make Report

”Boost