All About: _USTN_PROJECTNAME


 Product:MicroStation
 Version:08.11.09.459
 Environment:N\A
 Area:Configuration
 Subarea:Projects

_USTN_PROJECTNAME is frequently used in Project Configuration Files.

It's default behaviour defined at the System level, unmodified by subsequent site, project or user level configuration, is that the value of _USTN_PROJECTNAME is automatically picked up from the name of the active Project Configuration File.

This can be seen in Bentley Configuration Explorer:

For _USTN_PROJECTNAME to correctly direct MicroStation to project resources the name of the Project Configuration File must be identical to the name of the project root folder.

The reason for this is that _USTN_PROJECTNAME is used in the default value of _USTN_PROJECTDATA, initially set by C:\Program Files (x86)\Bentley\MicroStation V8i (SELECTseries)\MicroStation\config\msconfig.cfg to:

$(_USTN_PROJECT)$(_USTN_PROJECTNAME)

This is a simple example of the way that configuration variables combine and cascade through the configuration.

If the Project Configuration File name and  the project root folders names are identical, _USTN_PROJECTNAME does not need to be redefined by site, project or user level configuration.

A possible exception:

The Project Configuration File names populate the Project list in the File Open dialog:

If more user friendly names are desired for this list the Project Configuration Files can be named accordingly but _USTN_PROJECTNAME must then be defined to match the project root folder name in the Project Configuration Files by adding:

_USTN_PROJECTNAME = <project root folder name>

e.g.:

_USTN_PROJECTNAME = MyProject_NM_Light_01

See also

Other language sources

 Original Author:Marc Thomas