Print Page | Close Window

Problem Loading Autolisps into AutoCAD 2013

Printed From: CAD Forum
Category: EN
Forum Name: AutoCAD
Forum Description: Discussion about AutoCAD and AutoCAD LT, viewers, DWG and DWF formats, Design Review, AutoCAD 360, add-ons
URL: https://www.cadforum.cz/forum_en/forum_posts.asp?TID=12186
Printed Date: 31.May.2026 at 20:39


Topic: Problem Loading Autolisps into AutoCAD 2013
Posted By: LARobert
Subject: Problem Loading Autolisps into AutoCAD 2013
Date Posted: 23.Jan.2017 at 23:05
I have had to set up a new computer. I have two custom Autolisps I want to install. when I run APPLOAD i can see that the two custom lisps are loaded and that the file paths are correct and when I select load there is a message saying they have been loaded successfully, I have also added both lisps to the start up folder However when I run AutoCAD the autolisps I loaded are not available. Has anyone got any ideas on what might be going on? 



Replies:
Posted By: John Connor
Date Posted: 23.Jan.2017 at 23:11
I would create an acaddoc.lsp file and put both routines in it.

-------------
"Humans have a strength that cannot be measured. This is John Connor. If you are reading this, you are the resistance."

<<AutoCAD 2015>>



Posted By: LARobert
Date Posted: 23.Jan.2017 at 23:31
Thank you John.
 Can you elaborate on you answer. i have seen suggestions to create a file folder called START and to put your lisps into that. then you are supposed to create a file path to that folder  in the options under the Support file search path.Next you load the files using the Appload command which is what i am doing already.Is this what you are saying


Posted By: Kent Cooper
Date Posted: 24.Jan.2017 at 07:13
Originally posted by LARobert LARobert wrote:

... I have also added both lisps to the start up folder However when I run AutoCAD the autolisps I loaded are not available. ... 
 
If you mean literally a folder that you have called something like Startup or Start, as your later message suggests, that's not the way to do it.  Having things in a particular folder doesn't load them.  Put them in the Startup Suite in the APPLOAD dialog box [lower right corner; pick on the icon, then the Add button in its sub-dialog box].  It's not a folder but a listing -- the folder locations of such files can be anywhere.
 
The acaddoc.lsp file approach is also good -- include the routines themselves in a file with that name or put (load) functions in it to load them, or (autoload) functions to load their command names but not load the code until those command names are called for [read about (load) and (autoload) in Help].  That file can also be anywhere, as long as its folder location is in the Support File Search Path list, and if AutoCAD finds such a file, it will run what's in it every time a drawing is started or opened.



Print Page | Close Window