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.