AutoCAD Customization – Setup and Migration
How to get my custom toolbars off my old install and put them into my new AutoCAD?
It is important to know where are your customized files in order to copy them into your new AutoCAD.
- acad.lsp – this lisp file is loaded automatically at the startup of AutoCAD. This file may contain commands and operations that only need to be done once per AutoCAD session. If the system variable ACADLSPASDOC is set to 1, then this file is loaded every time a new drawing is opened. I suggest keeping ACADLSPASDOC set to 0.
- acaddoc.lsp – this lisp file is loaded automatically each time a drawing is opened. It might contain lisp routines that need to be loaded in each drawing. You can also include (setvar) commands to set system variables that are not saved in the drawing or registry.
- custom.cui – This menu file is partially loaded automatically each time AutoCAD starts
- custom.mnl – This lisp file is loaded automatically each time custom.cui is loaded.
- acad.pgp – AutoCAD program parameters file. See AutoCAD HELP for more information.
- acad.fmp – font mapping file. See AutoCAD help for more information
- custom linetype files
- custom hatch patterns
- custom shape files
Copy all your customized files into a new directory, for instance C:\AutoCAD-Customization
Then, add this directory to the top of your Support File Search Path (Tools > Settings)
Why add this path to the top? AutoCAD automatically loads certain files at application startup and at drawing startup. In doing so, it searchs the support file search path in the order specified. loads the first file it finds, then quits looking.
For example, if you have a custom acad.pgp in C:\AutoCAD-Customization and this path is at the top, it will be found and loaded. It doesn’t matter if there are 2 or 3 other files named acad.pgp in other directories, these will not be found or loaded.
If you want to create a custom menu or toolbars, do not customize the default “acad.cui”. Why? Because your changes can be lost during the next reinstall, repair, service pack application, or upgrade that you perform. Create your own menu file and partially load it instead. As mentioned, AutoCAD will automatically partial load the menu named custom.cui (a blank one is supplied with AutoCAD), or you can create your own menu, like “mymenu.cui”. Either way, save this new menu to your C:\AutoCAD-Customization directory.
Now all your customization is saved in a single directory, so it’s easy to back up, easy to find when edits are needed, and you don’t have to worry about migrating these customizations to future releases. When that time comes, simply add C:\AutoCAD-Customization to the top of the support file search path again.
If you work in a network environment and you want to have a single copy of these customizations for all users, then instead of making C:\AutoCAD-Customization on your local machine, create a network share like \\MyServer\AutoCAD-Customization. Then add that path to the top of everyone’s support file search path. Make sure to set the network security permissions accordingly so that only the necessary persons have write access to this location.