Search

Maintaining a Corporate Interface in MicroStation/J TechNote

Support

<< Return to Index
Subject: Maintaining a Corporate Interface
Product: MicroStation/J
Operating System: Windows® 95, Windows 98, Windows NT®
Document Number: 8166

Variable Definitions and Terminology

_ustn_userint
This variable defines the path to the parent directory of the interface directories. Note: Any subdirectories of this directory will be listed as choices in the Interface menu of the MicroStation Manager dialog box.

_ustn_userintname
This variable defines which interface you want to use for this session.

_ustn_uipath
This variable defines from which directory(ies) to read interface modification files.

%lock variable
This locks the variable, preventing the user from changing it.

Interface Modification Files
The files in which MicroStation stores the customizations made to the user interface (MicroStation creates a ustn.m01 modification file).

Interface Directory
The directory in which the modification files for that interface are stored (the directory will have the same name as the interface).

Instructions to maintain a corporate standard interface in MicroStation/J

Set _ustn_uistandards = path to corporate standard interface directory

This information should be in a text file with a .cfg extension and placed in the \Bentley\Workspace\Standards directory or another directory defined by _ustn_site. Every time a user opens MicroStation, regardless of the interface selection in MicroStation Manager, the corporate standard interface will be seen.

Variable Descriptions:
In the msconfig.cfg (system level configuration file), _ustn_uipath is defined as follows:

_USTN_UIPATH = $(_USTN_USERINT)$(_USTN_USERINTNAME)/
_USTN_UIPATH < $(_USTN_USERINT)$(_USTN_DEFUSERINTNAME)/
_USTN_UIPATH < $(_USTN_UISTANDARDS)
%lock _USTN_UIPATH

The first variable definition tells MicroStation to read from the same directory where MicroStation writes interface modification files (when strung together, _ustn_userint and _ustn_userintname tell MicroStation where to write modification files). The second definition tells MicroStation to read from a user standard interface (by default, _ustn_defuserintname is set to "default"). This lets the user create a standard interface to be used with all their custom interfaces. The third definition prefixes _ustn_uipath with the value of _ustn_uistandards (by default _ustn_uistandards is undefined). _ustn_uistandards is a variable that can be defined to extend where _ustn_uipath is reading modification files, to a network location (corporate standard) for example.

Instructions for roaming interfaces that follow users

This setup can be used to create roaming interfaces that follow users wherever they log in, or to put users' interfaces on a network drive.

_ustn_userint= path to Parent directory
_ustn_userintname= user's name
%lock _ustn_userintname

This information can be put in the same location as _ustn_uistandards.

Tip: On Windows NT machines - the user's login ID is stored as the environment variable USERNAME. This can be used to point the _ustn_userintname variable to the user's own interface on the network (the interface name would be the same as the user's login ID)

Tip: To confirm that the configuration changes you've made have taken effect, generate an msdebug.txt file (refer to TechNote 8277 for instructions.).

8166

How useful was this page?
less
  more
Suggest new content or let us know how we can improve this content (optional):

<< E-mail this page