AutoLisp file will not load in AutoCAD 2016 from a toolbar.

AutoLisp file will not load in AutoCAD 2016 from a toolbar.

mosness
Enthusiast Enthusiast
2,953 Views
8 Replies
Message 1 of 9

AutoLisp file will not load in AutoCAD 2016 from a toolbar.

mosness
Enthusiast
Enthusiast

I have several Autolisp programs that load and run from toolbar buttons.   They all ran in AutoCAD 2015, but will not in AutoCAD 2016.   Here is one of them.

 

^C^C(load "/msd_prog/bom_setup") bomsetup  

 

Does anyone know why this will not work in AutoCAD 2016?

0 Likes
2,954 Views
8 Replies
Replies (8)
Message 2 of 9

Anonymous
Not applicable

My first thought is that AutoCAD cannot find them. Are they in the search paths? Perhaps you had custom search paths in 2015 that didn't migrate.

0 Likes
Message 3 of 9

mosness
Enthusiast
Enthusiast

I have all my programs on the M: drive on our server.   I go into the properties In the AutoCAD shortcut and change the start in to "M:" so it looks to the server M drive and not the local C drive when AutoCAD is loaded.   I have all the support file search paths and the trusted paths added.    This has always worked on past versions of AutoCAD.    If I manually load the program it works or if I add the programs to the startup suite they work, but I shouldn't have to.    

0 Likes
Message 4 of 9

Anonymous
Not applicable

Add that path here:

 

Options.JPG

0 Likes
Message 5 of 9

mosness
Enthusiast
Enthusiast

I have attached a picture of my shotcut and a picture of my support search paths.

0 Likes
Message 6 of 9

Anonymous
Not applicable

Attache on of the lisp programs that wont run.

0 Likes
Message 7 of 9

mosness
Enthusiast
Enthusiast

Here is one of the Lisp routines that will not load via toolbar.    I can load it manually and it will run or if I add it to the startup suite it will run.

0 Likes
Message 8 of 9

mosness
Enthusiast
Enthusiast

I think I found the problem, but I am not sure how to fix it.    We keep all of our lisp routines on our server so all drafters can run them.   We have always changed our shortcut to load AutoCAD by going into the properties and changing the Startin to our network drive M:.    For some reason it is not looking at the M: drive so none of my support search paths are working so the lisp routines won't load.   Is there another setting to have AutoCAD look at a different drive other than C:?

0 Likes
Message 9 of 9

Anonymous
Not applicable

Try this:

 

^C^C(load "M:/msd_prog/bom_setup") bomsetup  

0 Likes