Site Standards - Site Resource Files and Data Files

Updated from an earlier version:

MicroStation's default data folder is located here:

C:\ProgramData\Bentley\MicroStation V8i (SELECTseries)\WorkSpace\System\data

While it is possible to set the MS_DATA variable to use your W:\SS6\Standards\Data\ folder, this requires all of the files found in C:\ProgramData\Bentley\MicroStation V8i (SELECTseries)\WorkSpace\System\data to be copied to the network (otherwise various functions may fail) so is not recommended. That approach just creates a maintenance task if the contents of the delivered version change between versions.

I'll use the workspace location set up by the ABD SS6 - QuickConfig examples discussed elsewhere in this blog: W:\

It is generally only necessary to modify a few of the data files for location in W:\SS6\Standards\data\.

The crucial files have their own variables.

The list of scales available to Annotation Scale and other functions is defined by scales.def, Copy this file to W:\SS6\Standards\Data\Company_scales.def adding/deleting scales as required for your context, e.g. delete (or comment out) imperial scales. Set MS_CUSTOMSCALEDEF to specify filename and location. Note for a european user working on an imperial project, a version of the file containing imperial scales could be specified in the PCF.

MS_CUSTOMSHEETSIZEDEF and MS_CUSTOMUNITDEF both operate in a similar way for paper sheet sizes and units of measurement. Imperial/metric sizes can be commented out as required. (Note commenting out is the best approach, in case you need to add any entries back later.)

Editing the Company_units.def can reduce the length of pop-down unit lists:

Even in a metric environment it can be useful to have the major imperial units available in case you need to annotate with imperial dimensions when publishing documents to imperial using consumers.

DateTimeFormats.xml is almost complete, but I did find it useful to add a format for year only to use in copyright legends:

<Format FormatString="yyyy"         Description="Year Only" />

Use MS_DATETIMEFORMATS to specify filename and location.

Where resources files containing Line Styles, older fonts or other symbology are needed MS_SYMBRSRC can be set to specify the W:\SS6\Standards\Symb\ folder. A similar statement can be used in the PCF to specify a location for project specific resources. Use of *.rsc allows any .rsc file to be made available simply by placing it in the specified folder.

AccuDraw shortcuts can be modified and stored in W:\SS6\Standards\Data\Company_shortcut.txt.  MS_ACCUDRAWKEYS specifies the filename and location.
E.g. for UK keyboards change the Bump Tool Setting command from the ~ to # to avoid pressing Shift to access ~.

Here is an example block to add to a site configuration file.

# Site Resource Files and Data Files
MS_CUSTOMSCALEDEF = $(_USTN_SITE)data/Company_scales.def
MS_CUSTOMSHEETSIZEDEF = $(_USTN_SITE)data/Company_sheetsizes.def
MS_CUSTOMUNITDEF = $(_USTN_SITE)data/Company_units.def
MS_DATETIMEFORMATS = $(_USTN_SITE)data/Company_DateTimeFormats.xml

MS_SYMBRSRC < $(_USTN_SITE)symb/*.rsc

MS_ACCUDRAWKEYS = $(_USTN_SITE)data/Company_shortcut.txt