MBSE Integration Services for Integrating Modeling Tools
Generating classification mapping using the mbse_generate_classification_maps utility
You can define the classification for objects and attributes in your modeling tool and map them to objects and attributes in Teamcenter using the integration definition file. However, this classification information can be lengthy and difficult to work with.
Using the mbse_generate_classification_maps utility, this classification information is generated and saved in an XML file. You can then paste the contents of this XML file in the Classification mapping section of the integration definition file.
Syntax
mbse_generate_classification_maps [-u=user-id {-p=password |-pf=password-file} -g=group]
-classid=Classification-group-or-class-ID -outputpath=path-and-file-name-of-output-file [-toolClassifybyAttribute=toolClassifybyAttribute-value] [-attributeMode=owned | off | all] [-h]
Arguments
-u — Specifies the user ID. This is a user with Teamcenter administration privileges.
Note: If Security Services single sign-on (SSO) is being used for your server, the -u and -p arguments are authenticated externally through SSO rather than being authenticated against the Teamcenter database. If you do not supply these arguments, the utility attempts to join an existing SSO session. If no session is found, you are prompted to enter a user ID and password.
-p — Specifies the password. This argument is mutually exclusive with the -pf argument.
-pf — Specifies the password file. This argument is mutually exclusive with the -p argument.
-g — Specifies the group associated with the user. If used without a value, the user's default group is assumed.
-classid — Specifies the Classification class ID. The classification mapping is based on this argument. If you do not specify this argument, no output is generated.
-outputpath — Specifies the path and filename of the output XML file. The file path should be in the format pathname\filename. For example, D:\Temp\File_Name.xml.
-toolClassifybyAttribute — Specifies the attribute for which the classification mapping is to be done. This is an optional parameter that creates an XML file with toolClassifybyAttribute and toolClassifybyAttributeValue.
-attributeMode — Specifies the attribute mode that is used to generate the XML file. If the attributeMode is not mentioned, the default value is off. You can specify one of the following values for this argument:
- off — Excludes the classification attribute IDs associated with that class ID. This is the default value.
- owned — Includes the classification attribute IDs associated with that class ID.
- all — Includes the inherited classification attribute IDs associated with that class ID.
-h — Displays help for this utility.
Examples
Generate classification mapping without attributes:
mbse_generate_classification_maps -u=Tc-admin-user -p=password -g=group -classid=ICM -outputpath=C:\temp\class_mapping_without_attributes.xml -toolClassifybyAttribute=Partition
Generate classification mapping with associated attributes:
mbse_generate_classification_maps -u=Tc-admin-user -p=password -g=group -classid=ICM -outputpath=C:\temp\class_mapping_owned_attributes.xml -toolClassifybyAttribute=Partition -attributeMode=owned
Generate classification mapping with inherited attributes:
mbse_generate_classification_maps -u=Tc-admin-user -p=password -g=group -classid=ICM -outputpath=C:\temp\class_mapping_inherited_attributes.xml -toolClassifybyAttribute=Partition -attributeMode=all
Source: https://docs.sw.siemens.com/en-US/doc/282219420/PL20251212545240207.xid1913857/xid2305108 · retrieved Fri Jul 10 2026 00:00:00 GMT+0000 (Coordinated Universal Time)