Display full version of the post: Problem Loading Autolisps into AutoCAD 2013

LARobert
23.01.2017, 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? 

John Connor
23.01.2017, 23:11

I would create an acaddoc.lsp file and put both routines in it.

LARobert
23.01.2017, 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

Kent Cooper
24.01.2017, 07:13
[QUOTE=LARobert]... I have also added both lisps to the start up folder However when I run AutoCAD the autolisps I loaded are not available. ... [/QUOTE] 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.



Kent Cooper2017-01-24 07:19:33