You are currently reviewing an older revision of this page.
How can existing elements in a dgn file be upgraded to be synchronized with the current DataGroup Schema properties?
This solution only needs to be applied to DGN files that contain elements that carry DataGroup data, e.g. Walls, Slabs, Mechanical components, Spaces, etc., and standard MicroStation elements that have had DataGroup Instance Data attached to them.
Files that do not contain any DataGroup carrying elements do not contain anything that needs to be upgraded.
Typically this utility would be used after:
It is highly recommended that this utility and any other related processes are run after backups have been taken; either just after a regular scheduled backup or after an unscheduled backup of the specific files involved.
CONNECT Edition - File > Utilities > Data Utilities > Upgrade (Schema Upgrade Utility)
V8i - Utilities menu > Building Designer Utilities > DataGroup Upgrade Utility > Upgrade.
Please note that if properties exist on existing elements that are no longer defined in the schema, running this utility permanently deletes those properties and their corresponding values from the elements. If you wish to keep those properties, you must map them to another remaining property with the DataGroup Transformation Utility, before running the DataGroup Upgrade Utility.
The utility is also available via key-in:
mdl load Bentley.Building.Datagroup.Upgrade; dg upgrade
These key-ins can be applied by a batch process with the additional command 'dg processfile'.
The command file to use would contain the lines:
mdl load Bentley.Building.DataGroup.Upgrade; dg upgrade
dg processfile
The following sequence should ideally be used when none of the referenced files are in use so all files can be processed. File that are not processed will be listed so can be upgraded individually or by a repeat run.
This will process all of the attached files. The time required for this to complete will vary according to project size and complexity. For larger projects it may be appropriate to work with sequential groups of files rather than attaching all files.