E-mail This Page
to a Colleague
"Congratulations on writing the best AutoCAD reference/ manual that I've ever seen. I've been an AutoCAD user since R10 and I've seen and used many, many books on ACAD. Yours is an exceptional work...thank you for providing such a complete resource."
- Mike Cauley
AutoCAD Tips & Tutorials
Create a shortcut to a template and workspace
You probably have a shortcut to AutoCAD on your desktop. If you do, you can customize how that shortcut works. You can even create several shortcuts and tell them to open AutoCAD in different ways. This is called using command-line switches.
First, select the shortcut and press Ctrl+C. Then press Ctrl+V to create a duplicate. Let's say you want the new shortcut to create a new drawing with a specific template and workspace. Name the shortcut something like AutoCAD 2007 acad3d.dwt. (Acad3d.dwt is the default 3D template.)
Right-click the new shortcut and choose Properties to open its Properties dialog box.
The Target text box contains the current command. This is what Windows executes when you double-click the shortcut. Notice the quotation marks around it; these are necessary whenever any part of the command has spaces. In this case the Program Files and AutoCAD 2007 folders have a space.
Click to the right of the last quotation mark and press the Spacebar. Then you add your switches.
Here's a list of all the possible switches you can use:
/c specifies the location of a hardware configuration file. Example: /c c:\ellen\ellen.cfg. Usually, you just let AutoCAD create configuration files on its own, but you can save multiple ones if you change hardware, especially pointers. Perhaps you sometimes use either of two different digitizers depending on the job.
/s specifies support folders for fonts, menus, AutoLISP files, linetypes, and hatch patterns. Example: /s c:\ellen. You'd use this if you have some folder that you want to use for these items that is not in AutoCAD's support file search path.
/b opens a drawing and runs a script on it. You need the full drawing path. Example: /b "c:\drawings\clients and odd jobs\Jones" /b setup. Notice the quotation marks around the path because of the spaces.
/t opens a new drawing based on a template. Example: /t b-arch. This is the one we want for our example.
/nologo opens AutoCAD without displaying the splash screen. This saves you at least a second.
/v opens a drawing with a specified named view. Example: c:\drawings\3479a.dwg /v elevation. Of course, the view needs to exist.
/r resets AutoCAD to the default configuration file.
/p opens AutoCAD with a saved profile. Example: /p ellen. Again, you need to have saved the profile.
/nossm opens AutoCAD without the Sheet Set Manager.
/set opens AutoCAD with the named sheet set. Example: /set jones
/w opens AutoCAD with the specified worksheet. Example: /w ab3d. This is the other one we want to use for our example.
So, I changed the command line to the following:
"C:\Program Files\AutoCAD 2007\acad.exe" /t acad3d.dwt /w ab3d
This opens AutoCAD with the acad3d.dwt template and in the ab3d workspace.
Ready to roll!
New tips come out each week. Don't miss out!
Sign up for the AutoCAD Tips Newsletter
& get a free dynamic blocks tutorial


