ellen finkelstein logo

Ellen Finkelstein.com
AutoCAD PowerPoint About Links
       

Over 165 AutoCAD tips and tutorials!

AutoCAD Tips
AutoCAD Tips Blog

Get a free dynamic block tutorial and free AutoCAD tips!

AutoCAD 2010 course
AutoCAD training video

Buy a Book

E-mail This Page 
to a Friend

Submit a tip! If you include your name and I post your tip, I'll give you credit.

AutoCAD Tips & Tutorials

Access related files with the support file search path

All AutoCAD drawings are connected to related files. At the very least, all drawings need access to a menu file. Some drawings also need to access customization files (menus), fonts, plug-ins (such as AutoLISP and VBA files), linetypes, and hatch patterns. Drawings may have externally referenced drawings (xrefs).

You can miake your AutoCAD life easier by understanding the support file search path and the project files search path. If you sometimes get a message that AutoCAD can't find a necessary file, you may be able to solve this problem by working with the support file search path. AutoCAD looks for outside files first in the same folder as the current drawing, then in the support file search path. If the file is not in either place, you'll get a message that AutoCAD can't find the file.

The support file search path is one or more locations where AutoCAD looks for menus, fonts, linetypes, and hatch patterns. It also looks there for drawings to insert (using the INSERT command) and plug-ins. AutoCAD comes with a default support file search path, which varies based on whether you're using Windows XP or Vista. To find it, choose Tools> Options. (In 2009, click the Menu Browser button> Tools> Options. This opens the Options dialog box.

Quick Tip: A shortcut to open the Options dialog box is to right-click in the drawing or command-line area with no objects selected, and choose Options.

Click the Files tab. Then click the plus sign next to the first item, Support File Search Path, to expand the list.

The top item is your default location. On my Vista laptop, it's C:\Users|Ellen\AppData\Roaming\Autodesk\AutoCAD 2009\R17.2\enu\support. That's a pretty long path! However, your menu, font, linetype, and hatch pattern files are there by default.

If you want to create your own menu, font, linetype, and hatch pattern files, I recommend creating a folder for them and adding that folder to the support file search path. In this way, you don't interfere with the default installation of AutoCAD. Also, if you need to uninstall and reinstall or upgrade AutoCAD, your files are safer (although AutoCAD usually saves these files during an upgrade).

To add your own folder, select the Support File Search Path item, and click the Add button. A new text box opens at the end of the list where you can type in the path, but it's usually easier to click Browse. Then navigate to the folder in the Browse for Folder dialog box, select it, and click OK. The new path appears in your list.

You can create several folders for files and add them to your support file search parth. For example, many people put their AutoLISP and VBA files in a separate folder and add it to the support file search path.

The Project Files Search Path item is for xrefs. You can specify a project name for a drawing, using the PROJECTNAME system variable. Then, that drawing will look for xrefs in the project files search path related to that project name. You use this to ensure that the drawing can find the xref even if it's moved and so isn't in its original location. Project names are also used for images and DWF underlays.

To add a project name in the Options dialog box, Click the Project Files Search Path item to expand it. If you haven't used this item before, a new line appears, called Empty. Click Add. Then a new project appears, called Project1. It's highlighted, so you can rename it. Choose a name that's easy to type, as you'll have to type it on the command line.

To add a location, click Add. Then either type in a path, or click Browse to navigate to it, as previously described. Click OK, and your new path appears in the listing.

When you're done, click OK to close the Options dialog box. The project name you specified is now stored in the Windows Registry.

To use a project files search path, enter projectname on the command line. At the Enter new value for PROJECTNAME, or . for none <"">: prompt, enter the projectname that you specified in the Options dialog box. If you enter a name that you haven't listed in the Options dialog box, you get the following message:

"hello" not found in the registry. Use the Options dialog Files tab to create the project name and set the project search paths.

The next time you open the drawing, AutoCAD will know where to search for the xrefs for that drawing, even if they've been moved.

 

More Tips

101 Tips

Page copy protected against web site content infringement by Copyscape

+
Books by Ellen

AutoCAd 2010 Bible

AutoCAD 2010 & AutoCAD LT 2010 Bible
10th Edition!

Learn about the new surfaces, hatch features, and more!

 

New!
AutoCAD 2009 and AutoCAD LT 2009 Bible

This is the 9th edition of this book! Completely updated to conform to the new interface and, of course, it covers all the new features, such as the ribbon, Quick View, ShowMotion, the View Cube, the SteeringWheel, and more.

AutoCAD 2008 and AutoCAD LT 2008 Bible
Learn the great new features with wide application to all disciplines. Get the most comprehensive book on AutoCAD! DVD contains a 30-day trial of AutoCAD and AutoCAD LT. Thorough exercises guide you through each feature.

AutoCAD 2007 and AutoCAD LT 2007 Bible 
Discover the 2007 features, especially the radically improved 3D tools. CD has AutoCAD 30-day trial, 3rd-party software, and drawings for exercises.

                                  Home  |  AutoCAD  |  PowerPoint  | E-StoreAbout  | Links | Contact | Site Map
Copyright Ellen Finkelstein, Inc.