I was fortunate enough to attend Autodesk university this week. There were many things that I learned but one thing I learned was from a class that I did not attend. A friend attended a class and and learned this awesome tip from this class. He told me and now I am happy to say that IT WORKS!!!!
What is this tip? It is very simple – there is a folder that is included in AutoCAD 2012. This folder can contain any custom routine – LISP, .NET, ObjectARX, VBA…
After being placed in this folder, AutoCAD will automatically load it for you. So instead of using the commands NETLOAD or APPLOAD and then searching for your lisp file or .dll, it is automatically loaded and ready to be used without having to do anything but simply placing the routine in the folder. How cool is that?
The following is where the folder is located:
Notice that there are folders already in this location. These are plugins that I loaded from the “App Store” that is available in AutoCAD 2012. And this folder is where these plugins are stored and thus auto-loaded as well.
Below is a routine that I simply copied into this folder and then opened AutoCAD. After AutoCAD started, I simply ran the command and it works as if it was a native AutoCAD command.
The Routine shown in this example can be found here.
Note: I am using this for LISP routines only for now.
Hi ma am aldo from mauritius and i also enjoy uising autocad. am experiencing a problem wirth the hide object tool , do you think you can help me ?
Other than referring you to a post that I did a long time ago about isolating objects as seen below, I would suggest using a forum like http://www.theswamp.org, http://www.cadtutor.net or the Autodesk forums to ask questions.
note: I will update the isolate objects post soon
Hi thanks for this helpful post – Siva
HI BUNDLE OF THANKS FOR HELPFUL POST
I have used this trick on 2012 and thanks for it…how about for 2014, is there a way to auto load the lisps that I have?
Unfortunately, the autolaoder functionality as shown in this post was only good for 2012.
2014 requires a support path to be added and ALSO a “Trusted Path” to be defined in order to load custom content.
Check out this link that discusses it more: http://designandmotion.net/autodesk/autocad-2014-startup-lisp-and-autodesk-new-security/
I had the same problem with ACAD 2014 however I went into the ‘Options’ – ‘Files’ and then the third folder down which says ‘Trusted Locations’. Click on the ‘+’ symbol to open it and then click ‘Add’ then ‘Browse’. All you need to do is put in the path where your LSP programs are. Click on ‘Apply’ then exit. Close ACAD down and then open ACAD up again and it works!
Lots of thanks for this simple solution. it saved lot of time :-)