Search

Setting Up and Configuring MicroStation TriForma with ProjectBank DGN

Support

<< Return to Index
Subject: Setting Up and Configuring MicroStation TriForma with ProjectBank DGN
Product: MicroStation TriForma v7.1 and ProjectBank DGN
Operating System: Windows® 95, Windows 98, Windows NT® 4.0, Windows 2000
Document Number: 8203

To Install ProjectBank DGN Server and Client

  1. Install MicroStation/J v07.01.01.36 or higher on all client machines
  2. Install the ProjectBank DGN server and client (v07.01.01.45 or higher)

Note on step 2: If installing the server and client on the same machine, the install path will default to where you installed the server. You will need to change it to point to where you installed MicroStation/J.

    • Note on step 3: It is generally good practice to make the share name "ProjectBank Projects" or another name that will be more relevant to your system.
  1. After step 10, you can run ProjectBank DGN without MicroStation TriForma.

To Configure ProjectBank DGN to Work with MicroStation TriForma

  1. Install MicroStation TriForma v07.01.01.53 or greater on all client machines (where MicroStation/J has been installed)
  2. Single-click on the client MicroStation with ProjectBank DGN shortcut, right-click, and select Properties (you may wish to make a copy first, so you have one shortcut for just MicroStation, one for MicroStation with MicroStation TriForma).
  3. In the Shortcut tab, under Target, append the following to the existing line, making the appropriate path changes to your particular configuration: -wutriforma -wcC:\Bentley\Program\TriForma\config\tflocal.cfg
To Configure ProjectBank DGN and MicroStation TriForma to Work with your Existing Workspaces

You can also continue to use your existing workspaces, including project configuration files, user configuration files, and interfaces. To do so, use the following approach:

  • Configure the entire system as normal, assuming that the only thing that makes MicroStation TriForma ProjectBank DGN-enabled is the portion of the shortcut that reads: -ws_PROJECTBANK=1
Note: You may need to either move or copy the projects.registry file to the path defined by the variable $(_USTN_PROJECTSROOT).

For more general information on shared interfaces and workspace variables, see Bentley TechNotes #8166, "Maintaining a Corporate Interface in MicroStation/J," and #8168, "Variable List for MicroStation/J."

To Set Up ProjectBank DGN User Briefcases, Workfiles, and Temporary Files on the Server

A system administrator may wish to keep user briefcases (and other files) in a shared folder on the server. However, please note that multiple users cannot share a single briefcase, and each user should have a unique briefcase name. The following example is meant to be used as a general guide--the exact configuration will depend on your system. The following configuration variables are defined in c:\bentley\program\microstation\config\projectbank.cfg:

  PB_PROJECTREGISTRY : ${_USTN_PROJECTSROOT}projects.registry
  PB_BRIEFCASES      : ${_USTN_HOMEROOT}briefcases/
  PB_WORKFILES       : ${_USTN_HOMEROOT}workfiles/
  PB_STATE           : ${_USTN_HOMEPREFS}
  PB_TEMP            : ${_USTN_HOMEROOT}temp/

Note that these are all ultimately based on two key variables, both of which are set by default in c:\bentley\microstation\config\msconfig.cfg:

  _USTN_PROJECTSROOT : $(_USTN_WORKSPACEROOT)projects/
  _USTN_HOMEROOT     : ${_USTN_BENTLEYROOT}Home/

Note: _USTN_HOMEPREFS is defined as a subdirectory of _USTN_HOMEROOT.

_USTN_HOMEROOT can be defined to point to a shared directory on your server. However, _USTN_HOMEROOT must point to a unique directory for each user. Generally, you would create a master directory on your server, and create subdirectories under this master for each user. Each directory name would match the network login name for that user.

To automate this, you can leverage your network user login variables. For example, if the shared drive is P: and the master directory is called /UserHomes/, then you would set: _USTN_HOMEROOT = P:/UserHomes/$(USERID)/Home/

For more information on setting up workspaces, see TechNote #8166, "Maintaining a Corporate Interface in MicroStation/J," TechNote #8160, "MicroStation/J Workspace Variable Directives," and FAQ #6171, "MicroStation/J Workspaces FAQ."

Model "Auxiliary Files" in ProjectBank DGN

This topic includes MicroStation TriForma *.bxs, *.tfb, *.hst files and drawing extraction files (*.d, *.s, *.f, etc.). When working on a model in MicroStation TriForma (without ProjectBank DGN), several auxiliary support files are generated for each design file opened. Each file is named to match the design file to which it belongs, but has its own extension. These files can include the following, depending on what function a user performs:

*.tfb The "brep" file created when a user performs solid modeling boolean functions (such as union solid or cut solid). The user may delete this file as soon as he/she exits the model design file, since a new one will be created automatically when needed.
*.bx! The temporary section definition file created as soon as a user chooses "New" in the Drawing Extraction Manager. This file is deleted when the user saves the section definition. At times it may not be deleted (for various "under the hood" reasons). The user can delete this file as soon as he/she exits the model design file.
*.bxs The section definition file created when a user creates and saves section definitions (using the Drawing Extraction Manager). If this file is deleted, the user will lose all section definitions for that model design file.
*.hst The "history" file created as soon as a user chooses "Calculate All" or "Update TF Changes" in the Drawing Extraction Manager. The "Update TF Changes" function reads this file to determine what has changed since the last time the section was generated, and therefore what needs to be recalculated.
*.log The "log" file generated by one of two functions - A) Running a Quantification report where MicroStation TriForma encounters errors, or B) Calculating a section, with Error Checking enabled, where MicroStation TriForma encounters problems.

When working in MicroStation TriForma with ProjectBank DGN, all of these files may still be generated, but they will be generated in the path defined by the configuration variable PB_WORKFILES, plus the project and briefcase names. By default this directory is c:\bentley\home\workfiles\<projectbank project name>\<user briefcase name>\.

All of these files can be maintained in their default location, isolated and inaccessible from other users, whether it is on the user's local machine, or in a user-specific folder on the server (see "To Set Up ProjectBank DGN User Briefcases, Workfiles, and Temporary Files on the Server", above). It is quite likely that a user will wish to share the *.bxs file (the section definition file) with other users, however, there are several issues to consider:

  1. Phase 1 integration of MicroStation TriForma with ProjectBank DGN does not check this file into ProjectBank DGN.
  2. Normally (outside of ProjectBank DGN) this file is centrally located and shared among users. At the same time, users cannot normally work in the same file at the same time, so there is no chance of two users writing to the *.bxs at the same time.

The temporary solution (until Phase 2 of MicroStation TriForma/ProjectBank DGN integration is released) is as follows:

  1. Once the *.bxs has been created, export the drawing definitions to a central location on the server for that project (from within the Drawing Extraction Manager, choose File > Export, choose a location, and click OK).
  2. When a different user (someone other than the user who created the drawing extraction definitions) opens the master model file, and wants to extract drawings, they would import the drawing definitions from the central location on the server for that project (from within the Drawing Extraction Manager, choose File > Import, choose the desired *.bxs file, and click OK).

A pair of macros is available from Bentley Technical Support to automate these import and export procedures.

 

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