Sync levels with ref, not with library


 Product:MicroStation
 Version:V8, 2004, XM, V8i, CONNECT
 Environment:N\A
 Area:Levels
 Subarea:General

Problem

Sync levels with reference, not with library

Given a master file with one or more references attached. In the references, levels from a level library are used. After attachment to the master file, the level attributes are changed in the reference(s). In a default setup these changes are not shown in the master file, and synchronizing the level attributes will revert them to those from the library, not the reference. How to synchronize level attributes with reference, not with library?

Solution

Define MS_LEVEL_SYNC_ATTRIBUTE_LIST

First define MS_LEVEL_SYNC_ATTRIBUTE_LIST = ReferenceOverrideSymbology, ReferenceByLevelSymbology, ReferenceGlobalDisplay, ReferenceGlobalFreeze, ReferenceDisplayPriority, ReferenceTransparency, ReferenceLock, ReferencePlot (note the Reference prefixes).

Then the key-in: "reference synchronize levels custom []" or the button 'Update levels from library' in Level Manager dialog will synchronize the attributes with the reference(s), not the library.

Notes:

The "[]" in the key-in is an optional identification of the reference(s) to synchronize, e.g. sample.dgn, Ref-1 or All. When this is not given, the reference(s) can be identified interactively.

The button in the Level Manager dialog will operate on the reference(s) selected in the file tree.

Attributes that are not listed in the definition of the variable will not be synchronized.

The key-in "reference synchronize levels all" synchronizes all attributes with the library.

See Also:

Levels and Level Libraries

Other language sources

 Original Author:Bentley Technical Support Group