Raster Manager Guide
Raster Manager Guide
Raster Manager Guide

Managing Images from MicroStation/J

When opening files created in MicroStation/J, attached images are often displayed at a different location in MicroStation V8. This occurs when the working units are not properly defined.

Raster Manager for MicroStation/J reads the Sub Unit label and matches that label with the one from the units.ini file. As an example, you cannot have kilometers as the Master Unit and inches as the Sub Unit. This problem also occurs if "SU" is used as the Sub Unit label, and the Master Unit label is anything other than "MU". For the HMR and TIF formats, "SU" is equal to 1 meter. If the Master Unit label defines a unit that is smaller than the one defined by the Sub Unit label (MU is smaller than SU), then MicroStation/J opens the image at a different location.

There are two workarounds to fix this:

  1. Change "SU" for a valid Sub Unit label (m, cm, mm, etc.), that is a Sub Unit label that fits with the Master Unit, and make sure that the value entered for the Sub Unit per Master Unit is valid. For instance, if the Master Unit is feet then the Sub Unit is inches, and the value in the Sub Unit field must be 12 (12 inches per foot).

  2. If you want to keep the original SU label, you can edit the units.ini file and assign the proper value to the "SU" label entry. The units.ini file is located under the Bentley\Workspace\system\tables\raster directory. You should keep in mind that the SU label is defined as 1 meter. It is possible to assign any value you want to the SU label, but it must be expressed in meters and it must be defined in the units.ini file under the SU label.

    For example, in MicroStation, if one SU is to be equal to 1/10th of a foot, you need to convert this value into meters. Hence, you would use the following formula:

    0.3048/10=0.0348, where 0.3048 is 1 foot expressed in meters.

    Thus, the SU label in the units.ini file will be defined as: SU,0.03048.