Categories
Tags
3d design 3d modeling akn-include autocad autocad electrical AutoCAD tips Autodesk autodesk 2015 autodesk event Autodesk Inventor autodesk revit autodesk subscription autodesk training autodesk vault BIM BIM 360 BIM Building Information Modeling building design building information modeling civil 3d civil design Construction data management digital prototyping engineering design fusion 360 how to infrastructure design inventor inventor tips manufacturing manufacturing design new features PLM PLM 360 product design Revit simulation software Synergis University technology tips training Vault what's new-
Most Popular Posts
Ready to Take the Next Step?
Announcement
October 29, 2013
Posted on October 29, 2013 by Todd Schmoock, Synergis Solutions Engineer:
AutoCAD® Electrical uses what is called an environment file (wd.env) to control where the software retrieves data. Some of the functions include where AutoCAD Electrical looks for vendor part numbers located in the databases, where the library is located for various symbols used, and where the menus files are located that allow you to choose the schematic symbols. This document will explain some of the most important areas of the environment file you should consider making changes to. There are additional areas you should consider changing, or turning on, but they are beyond the scope of this document. The wd.env file is located under the AeData folder, and is typically under the user’s documents folder location unless this was changed during installation. A typical location is “C:\Users\ User login \Documents\Acade 2014\AeData\”. Use notepad to view and edit the wd.env file. If an asterisk (*) is in the beginning of a line it will be ignored by AutoCAD Electrical. This allows you to add comments and notes while editing the file. To turn on an option you will need to remove the asterisk so AutoCAD Electrical will read that line.
SECTION I
(Environment file locations you need to understand, but will not change.)
The first areas to consider are the default locations of the databases, and the support locations. Most users prefer to leave these set to the defaults in the environment file. For example, each user has a support and a temp folder, and it’s best to leave this set to the default install locations. However, the databases can be moved to a server location and the path can be added to AutoCAD Electrical’s options under the files tab, but you would not change anything in the environment file.
This section controls the user support location:
******************************************************************************
* Program executable, dialog, and support files
******************************************************************************
WD,%PF_DIR%/support/%WD_LANG%/,AutoCAD Electrical dialog files, xls templates, and other support files
******************************************************************************
This section controls the user temp location:
******************************************************************************
* User temp file folder, CANNOT shared with other users
******************************************************************************
WD_USER,%DS_DIR%/user/,AutoCAD Electrical user temp file folder
******************************************************************************
This section controls the databases:
* Catalog Parts Database Path
******************************************************************************
WD_CAT,%WD_DIR%/%WD_LANG%/catalogs/,AE catalog file path
*WD_XCAT,x:/some path/wd_xcat.lsp,to override catalog look-up and call user’s external routine
*****************************************************************************
Steps you should complete to share the databases:
- Copy the AeData folder to a server location.
- Add the server path to AutoCAD Electrical’s options under Files tab:
- Rename or delete the default location at: “C:\Users\ User login \Documents\Acade 2014\AeData\” so electrical will not find it there. You can also remove this path from to options if you prefer.
SECTION II
(Minimum environment file locations you should change.)
This section controls where the library data is retrieved from:
******************************************************************************
* Symbol Insertion and Library Paths
******************************************************************************
WD_LIB,%SL_DIR%/jic125;%SL_DIR%/jic125/1-;%SL_DIR%/pneu_iso125;%SL_DIR%/pid;%SL_DIR%/hyd_iso125, schem, 1-line, and pneumatic/pid/hydraulic default paths
WD_PNL,%SL_DIR%/panel, panel layout symbol library base folder
~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
Steps you should do to share the libraries:
- Copy the library folders to a server location. A default install will place them at “C:\Users\Public\Documents\Autodesk\Acade 2014\Libs”
- Create a new folder under the Libs folder and name it something like “Company Symbols”. This is where you will place all symbols you create. NOTE: Do not put your custom symbols in any of the default folders. When you migrate to a new version of the software you could overwrite the existing folders with the new versions folder. Several users have already had this happen to them.
- Replace all the %SL_DIR% text shown above with the server address, and add a path to the newly created “Company Symbols” folder. When AutoCAD Electrical reads this it will go to the server location to retrieve symbols when you select them from the Icon Menu tool.
NOTE: There are more options in this section you may want to turn on, but it is beyond the scope of this document.
This section controls where the default path is for projects:
******************************************************************************
* Project and drawing-related paths and settings
******************************************************************************
WD_PROJ,%WD_DIR%/proj/,AutoCAD Electrical default project data folder
~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
Steps you should complete to change this path:
- Determine where you want to store your projects. This is typically a location you are already using when you worked with standard AutoCAD, but it can be a new location.
- Replace all the %WD_DIR% text shown above with the server address. When you use the New Project tool AutoCAD Electrical reads it and populates this location in the dialog box:
This will save you time by not having to browse too far when a new project is created.
NOTE: There are more options in this section you may want to turn on, but it is beyond the scope of this document.
This section controls where the menu files are retrieved from:
******************************************************************************
* Menu & Slide Path
******************************************************************************
*WD_MENU,%DS_DIR%/my_menu.dat,to override default schem icon menu
*WD_PMENU,%DS_DIR%/mypnlmnu.dat,to override default panel layout icon menu
*WD_SLB,x:/some path/,to override path pointing to “.slb” slide lib support files
*****************************************************************************
Steps you should complete to change this path
- Determine where you want to store your menu file data. Making a folder on the server called “AutoCAD Electrical Resources” is one option. Then, create a subfolder called “Menu Files”.
- Determine which *.dat files you will be using, or create a new one. The first line is for the schematic symbols icon menu. The second line is for the panel icon menu. Once you have the files figured out change the names in each line to reflect the correct file.
- Replace all the %DS_DIR% text shown above with the server address. When you use the Icon Menu tool AutoCAD Electrical reads this and pulls the data from this location into the dialog box:
- Remove the asterisk from the beginning of each line to turn on the option.
NOTE: There are several files AutoCAD Electrical uses to populate the icon menu. There are *.dll, *.slb, and *.dat files which are in the default user’s support folder, and the program files support folder. Search for these files and place them all in the new “Menu Files” location you made.
As mentioned earlier, there are many more areas you will want to modify and turn on in the environment file to make working in AutoCAD Electrical more enjoyable, and save you time by reducing the amount of clicks. Think of this document as the first steps to take when trying to share data with your group. Even if you are the only user, making these changes will make it easier for you to work in AutoCAD Electrical by avoiding those crazy default paths, and will save you time by reducing the amount of clicks. As you get better with AutoCAD Electrical you can explore other options to modify and turn on in the environment file.
Thanks,
Todd
Check out some of Todd’s previous posts:
- How to Identify a Secondary AutoCAD Electrical Catalog
- How to Create a .PC3 Plotter File to Plot AutoCAD Electrical Project Files
- How to Use DesignCenter (Ctrl + 2) to Import Wires into AutoCAD Electrical
- AutoCAD Electrical Tools You Should Use
- Things you Should Know About Installing AutoCAD Electrical
- AutoCAD Electrical Symbol Data
- Using Conduit Marker Support Files in AutoCAD Electrical
Todd has over 25 years of experience in the mechanical engineering field. Ten years of his time was spent as a documentation specialist/designer at Honeywell, Inc., working on several government contract which required strict drafting and design documentation in accordance with government standards. Todd joined Synergis in 2003 and he regularly presents classes as Autodesk University. Todd is a graduate of Delaware Valley College in Doylestown, Pa. He has over 20 years experience in the mechanical engineering field. Ten years of this time was spent as a documentation specialist/designer at Honeywell, Inc. where he worked on several government contracts which required strict drafting and design documentation in accordance with government standards.
Contact us, visit the Synergis website or subscribe to our blog.