AutoCAD Custom Setup Review
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
We’ve been customizing AutoCAD for many years and do things today in much the same way as we did many years ago. We are now undertaking the effort to modernize our processes with a goal to be able to install Out-of-the-box AutoCAD and have the setup be as zero touch as possible. To that end, I’ve listed in detail the steps we’ve taken in the past for two reasons; first to document what we’ve learned and have been doing over the years, and second, and with the communities help, document any improved/better/preferred way to accomplish something similar that you’ve learned.
Please note that we do not have any pride of authorship issues so I ask that you let me know what you think of our process and any way you’ve learned to improve a step, or ways you’ve learned to completely eliminate a step. I can explain what we were attempting to achieve, but that doesn’t mean that it remains a necessary step.
Please let me know your thoughts or suggestions.
(NOTE: the items below have also been attached)
- Update the OOTB “Civil 3D 20xx Imperial” desktop icon to include the “/b” switch, which calls a custom script file as follows:
- /b "D:\IDSP_2018\AutoCAD 2018\Support\SCRIPT.scr"
- The SCRIPT.scr contains a single line, which loads a custom lisp routine:
- (load "C:\SomePath\XXX.lsp")
- When the user enters AutoCAD for the very first time, AutoCAD is initialized and our custom script is called, which in turn loads our custom XXX.lsp routine.
- From within the same session of AutoCAD, the user enters the XXX command, which is defined in the “XXX.lsp” routine and carries out the following steps:
- Copies the following files from established network locations to various %APPDATA%, %LOCALAPPDATA%, or AutoCAD installation folders:
- ARG file – Our custom profile exported as an arg file. This gets copied to the local “Support” folder and loaded below.
- CUIX/BMP Menu files – Customization/menu files and associated Bitmap files. These CUIX files get copied to the “%APPDATA%\Support” and “%APPDATA%\Support\Icons” folders respectively. The CUIX files are loaded below by the XXX lisp routine.
- Copies the following files from established network locations to various %APPDATA%, %LOCALAPPDATA%, or AutoCAD installation folders:
- Tool Palette files – This includes Profile.aws file (copied to “%APPDATA%\Support\Profiles”, AcTpCatalog.atc, compiled palettes (atc), and associated bitmap images (copied to “%APPDATA%\Support\ToolPalette”)
- DWT Template – Our custom template is created from the OOTB “acad.dwt” file with the following items added to it:
- Add two (2) custom layers
- Add our custom text style named SIMPLEX and set it current.
- Run a custom script file that:
- Sets various system variables and dimension variables
- Temporarily inserts and deletes a custom “arrow.dwg” block and sets it for use with the DIMBLK and DIMLDRBLK variables
- Creates our custom Dimension style and sets it current.
- Run a custom script file that adds custom Multiline Styles
- Manually sets up a custom Multileader style
- Manually sets up a custom Table style
- Custom lsp files – This includes acaddoc.lsp, which:
- Sets various custom “global” system variable settings
- Defines global AutoLisp variables for use by other custom Lisp routines
- Loads various custom AutoLisp routines
- Calls S::STARTUP to run a Lisp routine when a drawing is initialized to display current settings in the AutoCAD tray area.
- Custom Acad.lin file – This includes our custom linetype definitions merged into the OOTB file
- Custom Acad.pgp file – This includes our custom command alias definitions merged into the OOTB file
- SLB slide libraries – For supporting DCL/LSP routine images.
- CTB files – Standard plot style table for ensuring consistent line widths during Plotting or Publishing
- PC3 files – For plotting to installed devices.
- Custom .NET assemblies – Custom .NET utilities that are called on demand. The command names and locations are added to the HKEY_LOCAL_MACHINE area of the registry by a separate network deployment.
- SHX Files - These get copied to the local “Fonts” folder to support custom blocks.
- Loads our custom profile from the locally copied ARG file, which includes the following previously saved options and preferences:
- Files tab
- Support Paths
- Network Path to Lisp routines
- Network path to ARX applications
- Raster Design paths (if not included)
- Trusted Locations
- Network Path to Lisp routines
- Network path to ARX applications
- Path to standard Script (SCR) files that are manually run as needed
- Path to standard VBA (DVB) files that are manually via Lisp shortcut commends
- Template settings path and path/file for QNEW
- “Temporary Drawing File Location” set to folder on largest drive on PC (Ex: “D:\Temp”)
- “Temporary External Reference File Location” set to folder on largest drive on PC (Ex: “D:\Temp”)
- “Print Spooler File Location” set to folder on largest drive on PC (Ex: “D:\Temp”)
- Support Paths
- Display tab
- Sets the “Crosshair size” to 100 - a visual preference by most users
- Sets the “Xref display” to 100 – a visual preference to display xrefs and regular objects with the same intensity on screen.
- Change the “2D model pace” and “Command line” colors. Simply a visual indicator to specify when AutoCAD has been setup,
- Files tab
- Open and Save tab
- Disables the “Automatic save” option to encourage regular saving by users
- Check the “Display full path in title” option. Simply a preference.
- Ensure the “Show proxy Information” dialog box is checked to notify users of missing 3rd-party plug-ins
- Plot and Publish tab
- Select the “Use last successful plot settings” option for new drawings. Simply a preference to pre-select the most likely plotter in the Plot dialog
- Uncheck the “Enable background plot when Publishing” option. This option has proved resource intensive.
- Uncheck the “Automatically save plot and publish log” option. We have our own custom .NET application that captures plot-related information so these files are not required.
- Set the default Plot Style table to a specific (most-likely used) CTB
- System tab
- Disable balloon notifications for “Product Support Info channel” and “Did you know” messages.
- Choose the “Load acad.lsp when opening each drawing” option to support custom Lisp routines across multiple open drawings.
- Selection tab
- “Selection preview” options disabled for better graphics performance:
- Disable “When a command is active”
- Disable “When no command is active”
- “Selection preview” options disabled for better graphics performance:
- Miscellaneous
- Create custom “Palette Groups” to support grouping of loaded tool palettes
- Load the Raster Design menu
- Loads menu (cuix) files
- Custom menus
- Raster Design menu
- These are loaded from the “%APPDATA%\Support” folder