Create your own CFG files
Editing the local copy of standards.cfg
The first step is to edit a copy of the standards.cfg file, adding one line at the end. The standards.cfg file is found in the …\WorkSpace\Standards folder. This file is not overwritten when un-installing or re-installing. The contents of the file do not usually change from one version to the next, but it is a good practice to review the file for any changes with new versions.
- Open …\WorkSpace\Standards\standards.cfg in Notepad or Notepad++.
- Add the following line at the end:
%include S:/Workspace/cfg/*.cfg
- Select File > Save and exit Notepad.
Create the global.cfg file in S:\Workspace\cfg\
The global.cfg file is used to do the following:
- Load project PCFs
- Load corporate Interface
- Load corporate MDLs
- Load other global settings
- Create a new Notepad file in the folder S:\workspace\cfg, named global.cfg.
- Add the following lines:
# global.cfg created to centralized project data
# <COMPANY NAME HERE>
# <YOUR NAME HERE> - DEPARMENT - DATE
#################################################
#THE FOLLOWING AREA IS FOR RECORDING CHANGES MADE TO THIS CFG FILE. #
# ----------------------------------------------------HISTORY----------------------------------
# Date Person Description
# ---------------------------------------------------------------------------------------------------
# 11/20/13 First Last created CFG file
##################################################
_USTN_PROJECTSROOT= P:/Projects/
#Source for Project.Template
_USTN_PROJECT= P:/Projects/
#Location of Project Configuration Files (PCF)
_USTN_UISTANDARDS= S:/Workspace/Corp/INTERFACES/
_USTN_UIPATH= $(_USTN_USERINT)$(_USTN_USERINTNAME)/
_USTN_UIPATH< $(_USTN_USERINT)$(_USTN_DEFUSERINTNAME)/
_USTN_UIPATH< $(_USTN_UISTANDARDS)WATER/
%lock _USTN_UIPATH
MS_MDLAPPS > S:/Workspace/Standards/mdlapps/
MS_DGNAPPS = SYNCHBYLEVEL
#This MDL application makes the Attributes switch to ByLevel Mode when the #Active Level is changed. Add other MDL applications separated by commas.
NOTE: WATER is used here as an example of a department within an organization.
- Select File > Save and exit Notepad.
Create userdata.cfg in S:\Workspace\cfg\
The userdata.cfg file is used to do the following:
- Set the location of user configuration files (UCF)
- Set the location of AccuDraw shortcuts, Function Key menus, etc.
- Open the dfltuser.cfg file on the local system
To create the userdata.cfg file you will use an empty Notepad file.
- Create a new Notepad file.
- Add the following lines:
# Userdata.cfg created to define location of User data
# <COMPANY NAME HERE>
# <YOUR NAME HERE> - DEPARMENT - DATE
#################################################
#THE FOLLOWING AREA IS FOR RECORDING CHANGES MADE TO THIS CFG FILE.
# # ----------------------------------------------------HISTORY---------------------------------
# Date Person Description
# ---------------------------------------------------------------------------------------------------
# 11/20/13 First Last created CFG file#
#################################################
USERDATA= S:/Workspace/User/
MS_FKEYMNU= $(USERDATA)$(USERNAME)/funckey.mnu
# location of Function Key Menu file
MS_BUTTONMENU = $(USERDATA)$(USERNAME)/default.btnmenu
# location of Button Menu file
MS_ACCUDRAWKEYS= $(USERDATA)$(USERNAME)/shortcuts.txt
# location of AccuDraw shortcut file
MS_USERPREFSEED = $(_USTN_LocalUserAppDataPath)/<myupfseed.spf> # User Preferences Seed file
_USTN_USER= $(USERDATA)$(USERNAME)/
# location of User Configuration (*.UCF) file _USTN_USERNAME = $(USERNAME)
# Set MicroStation user name to Windows login name
- Select File > Save and exit Notepad.