Bentley Communities
Bentley Communities
  • Site
  • User
  • Site
  • Search
  • User
  • Welcome
  • Products
  • Support
  • About
  • More
  • Cancel
MicroStation
  • Product Communities
  • More
MicroStation
MicroStation Wiki Workspaces on the Network
    • Sign in

    • +MicroStation Wiki
    • -Administration Wiki
      • Adding "Display Style List" to custom Toolbox
      • +Administration - Legacy Content
      • Answers for the Levelly Challenged
      • Batch Convert Utility
      • Bentley Tablet Driver And CalComp DrawingBoard
      • Bypassing Port Problems In Windows 2000 And Windows XP
      • Cannot find survey ft option in Design File Settings > Units
      • Configuration Variable Processing
      • Configuration Variables In MicroStation V8
      • Creating Tool Icons
      • Customize item missing from Workspace menu
      • Customize Toolbox - Tool opens new Toolbox
      • DGN file association in Windows 10 (MicroStation Does not appear in list)
      • DGN Index Service - How to set up
      • DGN Index Service Setup ended prematurely – error 1603
      • Enabling Lock Pages In Memory Under Windows 7 and Vista
      • Error - Cannot locate a default SHX font. Please install msdefault.shx
      • Error - Unable to load/create dialog item of type 'IconCmd', id
      • Error 1402. Could not open key
      • Error 1603 during install
      • Error 1610 during install
      • Error 1625 during install
      • Error message when starting MicroStation, "ucf not found"
      • File Associations
      • Getting Started With The Standards Checker
      • Haven't Upgraded To The MicroStation V8 Format Yet
      • How to Back Up and Restore User Preferences
      • How to Copy User Preferences and User Configuration Files to a new or different PC
      • How to quickly add a number of folders to Microstation's reference files search paths
      • How To Reset User Preferences and Delete MicroStation‘s Temporary Files
      • Installing MicroStation V8 XM Edition silently
      • Installing MicroStation V8i (SELECTseries 3) Without an Internet Connection
      • Installing MicroStation V8i silently
      • Is there any easy way to determine key-ins or variable names?
      • Key-in command to define different pattern setting options
      • Keyin to encrypt dgn files
      • MicroStation - Creating a Custom Colour Book
      • MicroStation Command Line Options And Switches
      • MicroStation Failed to Start
      • MicroStation file access issues with shared network drives
      • MicroStation Memory Management
      • +MicroStation V8i Variables
      • Migrating Customizations to MS V8i
      • Migrating Customizations to MS XM
      • MSDebug File
      • MSXML Issue
      • Networking Workspaces
      • Networking Workspaces the easy way
      • New Variables
      • Overriding And Resynchronizing Level Attributes
      • Restore MicroStation to Factory defaults
      • Script error during MicroStation Installation
      • Serving Up Efficiency
      • Sharing Your Workspace
      • System Fault 5 MDL abort in DITEMS
      • The Power Of The Workspace
      • To also see hidden Config-Variables
      • Unable to connect to an Oracle Database
      • Understanding File Locations And Reference Attachments In MicroStation
      • Updating To MicroStation V8 Format
      • Upgrading From 08.09.02.52 To 08.09.02.77
      • Windows Explorer ProgramData folder
      • Workmodes DGN/DWG
      • Workspaces on the Network
    • +Annotations Wiki
    • +Bentley View Wiki
    • +MicroStation PowerDraft
    • +Programming Wiki
    • +Visualization Wiki

     
     Questions about this article, topic, or product? Click here. 

    Workspaces on the Network

       
      Applies To 
       
      Product(s): MicroStation
      Version(s): N/A
      Environment:  N/A
      Area:  Configuration
      Subarea:  Workspace
      Original Author: Bentley Technical Support Group
       

    Overview

    Note: The information outlined in this article is valid only if you always use MicroStation in a networked configuration.

    Networking Workspaces

    You can enjoy flexibility while easily maintaining standards by having your site configuration file on your network.

    By networking your workspaces, standardization and maintenance can become a reality faster than you may think. Let's take a look at how quickly and easily workspace components can be networked. First, an understanding of the key components is necessary.

    MicroStation workspace

    A MicroStation workspace, by definition, is a custom MicroStation environment or configuration. A workspace consists of a project, and a user interface: 

    • Project-Customized data files such as cell libraries, seed files and linestyle libraries. The data files of delivered MicroStation workspaces are located in modules, subdirectory trees under MicroStation's workspace module (wsmod) directory.
    • User Interface-Defined in modification resource files in subdirectories under MicroStation's workspace user interface (wsui) directory.

    Configuration variables

    By using configuration variables, MicroStation can locate various workspace components, allowing you to move them almost anywhere you wish-even to a network drive. Configuration variables are defined in ASCII files called configuration files. Variables being defined in these configuration files are set only when the MicroStation executable is run. Configuration files can also contain logical operators such as %ifdef, %ifndef and %endif to test conditions.

    There are three configuration files to consider when networking workspaces:

    • Site configuration file-This file is used to define configuration variables that everyone will use. Any variable definitions within this file will take precedence over MicroStation's default configuration. This file (and there can be only one site configuration file) is located, by default, in the ..ustation\config\site directory and

    will follow the naming convention of AnyName.cfg. We will move this file to a network drive.

    • Project configuration file-These are used to define configuration variables particular to certain projects on which a site may be working. Any variable definitions within this file will take precedence over MicroStation's default variable definitions,

    as well as any variable definitions contained in the site configuration file. Project configuration files (there can be more than one) are located, by default, in the ..ustation\config\project directory and follow the naming convention of ProjectName.pcf. We will move these files to a network drive.

    • User configuration file-These are used to define configuration variables specific to any particular user. Any variable definitions within this file will take precedence over MicroStation's default configuration, site configuration definitions and project configuration definitions. User configurations files are located, by default, in the ..ustation\config\user directory and will follow the naming convention of WorkspaceName.ucf. This file remains with the user and will not be located on the network drive.

    Environment variables

    An environment variable (for the purposes of this article) is a configuration variable that is set at the operating system level. To set environment variables, use the procedure inherent to each operating system. For example, on Windows NT, use the System icon located in the Windows Control Panel. The following MicroStation configuration variables should be set at the system level:

    • _USTN_ SITE-Defines the directory containing the site configuration file.
    • _USTN_ PROJECT-Defines the directory containing the project configuration files.
    • _USTN _USERINT-Defines the base user interface data directory.

    Getting started

    Given this knowledge of configuration variables (and how to make them environment variables), you will see how simple it is to begin networking your workspaces. The definitions of our three key environment variables are:

    • _USTN _SITE = H:\ws\config\site\-This tells MicroStation to look on the network location of H:\ws\config\site\ and read the site configuration file. The site configuration file will, as described earlier, contain all MicroStation configuration variable definitions that you want as standard for your entire site. There is only one site configuration file. Create it with a text editor and move it to this location.
    • _USTN _PROJECT = H:\ws\config\project\-This tells MicroStation to look on the network location of H:\ws\config\project\ and read the project configuration file. The project configuration file will, as described earlier, contain all MicroStation configuration variable definitions that you want as standard for use within a particular project. Create one for each project using a text editor and move them to this location.

    Note: The filenames of the project configuration files contained here will appear on the Project option menu located on MicroStation Manager. This is the method used to change projects before entering MicroStation.

    • _USTN_ USERINT = H:\ws\wsui\-This tells MicroStation to look on the network location of H:\ws\wsui\ and load the user interface modification resource files. Create several new user interfaces locally and move the local wsui subdirectories to this location.

    Note: The wsui directory contains subdirectories for each available user interface. The names of these subdirectories appear on the Interface option menu located on MicroStation Manager. This method is used to enter into different interfaces when

    entering MicroStation.

    Reaping the benefits

    As you can see, networking workspaces need not be complicated. With this setup, you can:

    • Access different interfaces that are accessible to any user, with permissions, on the network
    • Change projects that can be accessed by anyone, with permissions, on the network
    • Enjoy all of this flexibility, while easily maintaining standards by having the site configuration file on the network.

     

    Tip: Take a look at the delivered workspaces and create your own. The workspace modules delivered with MicroStation can be modified and moved to the network drive. Most of the hard work is already done. Simply set your three key environment variables, create or modify everything else locally and then move the modules to the network location.

    Tip: To protect your invested time, make your network directories read-only. MicroStation does not require the ability to write to any of these areas to run properly.

    With just enough understanding of MicroStation's startup procedure, the possibilities are endless.   

    • Networking
    • MicroStation V8
    • Workspaces
    • workspace
    • Configuration
    • Share
    • History
    • More
    • Cancel
    • Dan Koval Created by Bentley Colleague Dan Koval
    • When: Fri, Sep 6 2013 1:53 PM
    • Marc Thomas Last revision by Bentley Colleague Marc Thomas
    • When: Thu, Nov 26 2015 11:45 AM
    • Revisions: 3
    • Comments: 0
    Recommended
    Related
    Communities
    • Home
    • Getting Started
    • Community Central
    • Products
    • Support
    • Secure File Upload
    • Feedback
    Support and Services
    • Home
    • Product Support
    • Downloads
    • Subscription Services Portal
    Training and Learning
    • Home
    • About Bentley Institute
    • My Learning History
    • Reference Books
    Social Media
    •    LinkedIn
    •    Facebook
    •    Twitter
    •    YouTube
    •    RSS Feed
    •    Email

    © 2021 Bentley Systems, Incorporated  |  Contact Us  |  Privacy |  Terms of Use  |  Cookies