MicroStation PowerDraft CONNECT Edition Help

CONNECTED User and CONNECTED Project Related Configuration Variables

The following ProjectWise Project Configuration Variables are defined when you activate a WorkSet that is associated to a ProjectWise Project. They are undefined when you activate a WorkSet that is not associated to a ProjectWise Project.
Configuration Variable name Description
CONNECTPROJECT_NAME Defines the user recognizable name for project within an organization. For example, I-565 Interchange at County Line Road.
CONNECTPROJECT_NUMBER Defines the project ID officially used in an organization for tracking project internally. For example, EAP id, like DMO-063 VP 778.
CONNECTPROJECT_INDUSTRY Defines an Industry. An Industry is a group of like-minded organizations with a common business function centered on a like set of infrastructure assets. For example, Electric Utility.
CONNECTPROJECT_ASSETTYPE Defines an Asset Type. An Asset Type is a set of related assets. For example, the Asset Class Electric Network is comprised of the following Assets: Distribution Network, Substation, and Transmission Network.
CONNECTPROJECT_LOCATION Defines the geographic location of the project For example, city/state/country, Lat/long.
CONNECTPROJECT_STATUS Defines the project state. The project state is either Active, meaning the project is open for participation or inactive, that is closed for participation.
The following user Configuration Variables are defined when user signs in from the CONNECTION Client, and undefined when a user signs out.
Configuration Variable name Description
CONNECTUSER_NAME Defines the name of the CONNECTED user.
CONNECTUSER_COUNTRY Defines the name of the CONNECTED user.
CONNECTUSER_ORGANIZATION Defines the name of the organization of the CONNECTED user.
CONNECTUSER_LANGUAGE Defines the name of the organization of the CONNECTED user.
CONNECTUSER_FULLNAME Defines the full name of the CONNECTED user.

All the above project and user Configuration Variables are read-only that are defined automatically at run time, for the duration of the session. Following example explains the usage of the Configuration Variables:

Imagine there's a configuration (.cfg) file named after one of the property values. For example, if you have CFG files named after countries, like USA.cfg, India.cfg. In the WorkSpaces location, you can include the files as follows:
%if defined (CONNECTPROJECT_LOCATION) && exists ($(_USTN_WORKSPACESROOT)$(CONNECTPROJECT_LOCATION).cfg)
%include $(_USTN_WORKSPACESROOT)$(CONNECTPROJECT_LOCATION).cfg
%endif