TeamcenterKnowledge

Weight and Balance Management ─ Deployment and Administration

Migrate weight and balance data from the old data model to the new data model

A new data model is available that is independent of the CAD tool being used. The new data model is not dependent on parameters. Therefore, with the new data model, you do not need to install Parameter Management to set the weight types. You need it only to set the weight targets.

If you are doing a fresh installation of Weight and Balance Management, you are working with the new data model by default. However, if you have an existing installation of Weight and Balance Management and have data in the old data model, you need to run a migration utility so that the data is migrated to the new data model.

After the migration is successful and you are ready to switch to the new data model, you must set the value of the WNB0_EnableCADBidirectionalExchange preference to True so that you can work with the new data model. After that, a bidirectional exchange of data can proceed between the CAD application and Teamcenter.

After you set the preference value to True, you must regenerate the client metadata cache by running the following command:

generate_client_meta_cache -u=user_id {-p=password} -g=group -t generate all.

Procedure

  1. Install Weight and Balance Management.
  2. Run the following utility in the Teamcenter command prompt to migrate weight and balance data from the old data model to the new data model:
wnb_migrate_parameter_data -u=user_id {-p=password} -g=group -report=absolute_path_to_fileName

Tip

For more information about this utility, run the following command on the Teamcenter command prompt:

wnb_migrate_parameter_data -h

This utility updates only the data that is local to a database. It does not update replicated data. Therefore, in the case of a multi-site scenario, you must update and then refresh the replicated data.

The information from the old data model is migrated to the new data model, but the new LOV is not updated. For example, if the information about the External weight type is present in the Att0Source LOV in the old data model, it is migrated to the new data model, but the Wnb0MethodTypeValues LOV is not updated with the External entry. Therefore, to display this information in the GUI, you must manually update the Wnb0MethodTypeValues LOV. Teamcenter checks if an LOV value in Att0Source is also available in Wnb0MethodTypeValues. If it is not available, a warning message is displayed in the utility report.

Results

After the data is migrated, a migration report is populated in a file with the name that you specified in the -report argument of the wnb_migrate_parameter_data utility. If you did not specify a location in the -report argument, the report is available in the folder where you ran the wnb_migrate_parameter_data utility.

Note

After migrating to the new data model, you must reconfigure your Access Control List (ACL) with the class names in the new data model.

For more information, see Provide access privileges to users for the weight and balance data.

Source: https://docs.sw.siemens.com/en-US/doc/282219420/PL20251212545240207.xid2304664/xid2307615 · retrieved 2026-07-11