Configure MicroStation Tag And Cell Synchronization

Note:

Compile a list of the tag set names used by your organization in title blocks. For each tag set, list the tag names that should be synchronized and their corresponding Meridian property names (and property set name). For each tag, note whether it should be read or written, or both. In effect, determine which application should control the value of that tag, Meridian or MicroStation. When doing so, consider where the drawings will originate from, imported from outside the vault (tags should be read), or created inside the vault with the aid of a wizard that prompts the user for title block information (tags should be written). Identify those tag sets in which Meridian should synchronize the same tags in the same way.

To configure tag synchronization:

  1. In Configurator, expand Environment in the configuration tree and select Application Link Settings.

    The settings for each application link appear in property pages in the right pane.

  2. Click the MicroStation tab.

    The MicroStation link's settings page appears in the right pane.

  3. Click Edit.

    To export the settings file to your computer, click the Export button. This can be useful if you want to edit the file in another text editor. You can then copy your changes to the Clipboard and paste them into Configurator.

  4. Locate the [PropertySets] section of the file.

    This section contains the names of all tag sets and cells that the MicroStation link will synchronize.

    Note:

    The property set section names that are defined in the [PropertySets] section use the following syntax:

    <COMPropertySetName>/<FMTID >=<PropertySetName>, <ProgID>

    Under normal circumstances, the definition should not be edited. If necessary, only <PropertySetName>and its corresponding property set section name may be changed. For example, changing both occurrences of MicroStationCustom to uStnCustom.

  5. Type a line for each tag set using the following format:

    <TagSetName>=<TagSetName>, AMStationEx.AMStatDocAccess

  6. Type a line for each cell using the following format:

    <CellName>=<CellName>, CELL

  7. For each tag set or cell in the PropertySets section, create a section in the file that begins with the tag set or cell name surrounded by square brackets, for example, [MyTagSet].

    You can type comments in the file by beginning each line with a semicolon (;). Use the default sections in the file as examples. You can delete all unused sections to simplify viewing and editing the file.

  8. If the tag set contains date tags that will be synchronized, configure the TitleBlockDateFormat setting as described in Format Attribute Date Values .

  9. On consecutive lines in each tag set or cell section, list the tag or cell names that you want to synchronize, one line each.

    For each tag or cell, specify the Meridian property set and property name to which you want it synchronized.

    You can find the names of property sets and properties on the Properties page of each document type, as described in Create And Edit Document Types.

  10. Specify a flag if the property should be read-only (RO) or write-only (WO).

    Use the default lines in the file as examples. By default, document properties are read/write. Use the following format for each line:

    <TagName or CellArrayIndex>=<PropertySetName.PropertyName>,<Flag>

    Note:

    Although Meridian internal properties can be synchronized to title blocks, you should never attempt to update internal properties or else Access denied errors can occur. Flag all tags or cells linked to Meridian internal properties as write-only (WO). Only write to Meridian properties in the Custom property set.

  11. If you want to synchronize a property to a parent project (routed) property, specify the folder type name from which to get the folder property, as in the following example.

    <TagName>=<FolderTypeName:PropertySetName.PropertyName>,<Flag>

  12. If you want to synchronize one property to one of several possible routed properties, specify a unique identifier for the property on the left side of the setting, as in the following example.

    <TagName,ID>=<FolderTypeName:PropertySetName.PropertyName>,<Flag>

    The value of ID is insignificant but must be unique among all of the lines in the same tag section. Using this syntax, you can map the same tag to multiple project folder types and the value will depend on the document's parent folder. The following example uses three different folder types: NewProject, UpgradeProject, and RepairProject.

    PROJECTNUM,new = NewProject:PSProject.ProjectNum,WO       
    PROJECTNUM,upgrade = UpgradeProject:PSProject.ProjectNum,WO
    PROJECTNUM,repair = RepairProject:PSProject.ProjectNum,WO
  13. Click OK.

  14. Test the link thoroughly by synchronizing each tag or cell.

    You can do this by changing property values for a drawing in the vault and the title block tag or cell values in the same drawing and confirming that the synchronization occurs in the way that you expect. You can manually synchronize properties with the Meridian client applications as described in Synchronize File Properties.

Note:

By default, the MicroStation link creates a new tag set in a drawing for each tag set listed in Configurator if it does not already exist. This can cause problems if the same tag name is used in different tag sets. This may be the case if users have not taken care to name tags uniquely in tag sets, and have used multiple tag sets in different drawings. The MicroStation link will only synchronize the first tag that it finds with each name. Therefore, some tags may be unexpectedly skipped during synchronization. To resolve this issue, locate and edit this setting to control unnecessary tag set creation on all computers:

Settings= DoNotCreateMStationTagsets.1

2021 R3