Change MicroStation V8i Layout Back To XM Layout

The very first thing you will notice once MicroStation v8i launches is there is a major change to the Graphical User Interface (GUI). Bentley has implemented a new tool menu layout that looks similar to AutoCAD. Users who are familiar with AutoCAD may like the new layout; while others who have been using MicroStation over the last few versions may prefer the older layout. The steps outlined below will show you how to switch to the Task Navigation interface used by MicroStation XM.

Changing the MicroStation Layout to the XM version

1. Choose Workspace > Preferences.

 

2. In the Category list box on the left of the window that pops up, select Task Navigation.

 

3. From the Presentation option menu, choose Toolbox as shown in the figure below.

 

4. Click OK to apply changes.

5. Locate the Tasks tool bar.

 

6. Drag the Tasks toolbox by its title bar and dock it to the left-hand edge of the application window.

 

 

 

 

Using DGNAPPS in MicroStation

CAD Managers often have use for “automatically” setting global commands for their MicroStation users. The use of .cfg files in conjunction with a simple Basic Macro can yield positive benefits. In a real case scenario color tables were being attached from various locations and outside of the CAD Standards defined for the organization. It was determined to automatically attach a single color table to each design file on Open along with automatically setting other commands not defined by Configuration variables. Case: Corporate workspace with the MicroStation \\APPL folder located on the server

 

1) Create a simple Configuration file called COMMANDS.cfg with the following syntax: MS_DGNMACROS > $(_USTN_SITE)macros/commands

2) Locate this file commands.cfg within the MicroStation \\APPL folder Note: In a corporate workspace this folder should be located on your server. The variable _USTN_SITE as listed above is the standard pointer location fo the \\Standards\ folder

3) Develop a simple Basic Macro called COMMANDS.bas with the following syntax: Sub main MbeSendCommand "Attach Colortable \\Servername\bentley\workspace\standards\data\company.tbl" MbeSendCommand "SET SHARECELL OFF " MbeSendCommand "set hilite yellow" MbeSendCommand "set xor white" End Sub 4) Locate the file COMMANDS.bas within the MicroStation macros folder

Note: In a corporate workspace this folder should also be located on your server (example: \\servername\bentley\workspace\standards\macros) Any sequence of commands can be run in this manner as seen in the basic macro syntax

5) If there is no corporate workspace in place at your organization a simple email and download of these 2 files to the local system folders will produce the same results. The only change necessary would be the folder location pointers as defined in the COMMANDS.cfg and COMMANDS.bas file.

6) In the case of a Corporate Workspace scenario, one can simply rename the COMMANDS.cfg file to COMMANDS.cfg.xxx to temporarily “turn off” all of the automation without having to edit the basic macro file. MicroStation will only read and execute .cfg files located in the \\APPL folder

 

 

If you wish to subscribe to our monthly Knowledge is Power Ezine, please send an email to: This email address is being protected from spambots. You need JavaScript enabled to view it.

 

ProjectWise-MicroStation Reference File Settings

We will review the how the configuration variables PW_REFERENCE_MODE and PW_REFERENCE_TIMER are used by the ProjectWise-MicroStation integration to control how updates to reference files are handled by MicroStation. These settings determine how often MicroStation will check for updated reference files in ProjectWise and how to handle the user notification and update process when an updated reference file is found.

By default, these variables are defined in the mcm.cfg file which is located in the C:\Program Files\Bentley\ProjectWise\bin folder when the ProjectWise Explorer is installed with the MicroStation integration enabled. However, you can define them in your site, project, or user level configurations in your MicroStation workspace or in your ProjectWise Managed Workspace configuration blocks.

As always, when making changes to your MicroStation configuration variables, we recommend that you make backups to your configuration files and thoroughly test them prior to putting them to use in a production environment.

 

Reference Mode

The value set in the PW_REFERENCE_MODE configuration variable determines how updates to reference files from ProjectWise are handled by MicroStation. The PW_REFERENCE_MODE variable can be set to an integer value of 1, 2, or 3. The effects of each of these settings are listed below:

1- Display a dialog indicating that one or more of the attached reference files has been updated.

2- Don’t display a dialog and silently reload reference files which have been updated. The user may notice a slight pause in MicroStation as the reference files are reloaded.

3- No updating of reference file occurs. Use must manually use the reload references command in order to update reference attachments.

 

Reference Timer

The PW_REFERENCE_TIMER variable determines the interval, in minutes, in which MicroStation will check for updated reference files in ProjectWise. It is important to note that this variable will not have any effect unless PW_REFERENCE_MODE is set to a value of 1 or 2. Additionally, a positive integer value must be used, or the timer will be disabled. If the variable is not set, a default interval of 30 minutes will be used.

 

Example Usage:

PW_REFERENCE_MODE = 2

PW_REFERENCE_TIMER = 15

 

This example will set the reference checking interval to 15 minutes. When an updated reference file is found, you will be prompted with a dialog box indicating an update has occurred.

From the Select Documents to Reload dialog box, you can see which files have been updated along with the audit trail information which would display any comments which were entered when the file was updated. A Snooze button is also included in the dialog box which will delay the checking for server updates for up to eight hours. Finally, pressing the Reload button will cause the updates to the selected files to be copied out and the reference file attachments to be updated. You will then be able to see the latest changes to the reference files.

pw_reference_1

Changing the MicroStation Text Editor Style from the keyin field

Ever thought the User Preference file was locked down and not capable of being accessed from the key-in field? To change the Text Editor Style dynamically from the keyin filed one can setup a simple set of function keys, dialog boxes, pull down menus, or simply enter into the key-in field the command:  mdl keyin calculat calc userPrefsP->textEditorStyle= 1 1 = WYSIWYG 2 = Key-in 3 = Dialog Box 4 = Word Processor

This command consists of 2 parts. Loading the preprocessor calculator which allows access to public variables in MicroStation which includes tcb variables and published variables behind dialog boxes, and the command keyin for setting the Text Editor Style dialog. Note: Any number entered other than the four mentioned above will default to the Dialog Box GUI.

 

If you wish to subscribe to our monthly Knowledge is Power Ezine, please send an email to: This email address is being protected from spambots. You need JavaScript enabled to view it.

 

Publish modules to the "offcanvs" position.