TeamcenterKnowledge

Manufacturing utilities

migrate_vrule_configcontext

Migrates collaboration contexts containing single variant rules to collaboration contexts capable of containing multiple variant rules required, for example, when configuring a 120% BOM. This utility queries the database for all configuration context objects where the variant_rule property is not empty. It then copies the variant_rule value to variant_rules[0] and saves it. The utility generates a log file that lists: The number of collaboration context objects found in the database. The number of instances that have a variant rule. The number of objects that were skipped or do not have a single variant rule. The number of instances that failed while converting. For more information about using the 120% BOM feature, see Manufacturing Process Planning ─ Usage. Syntax migrate_vrule_configcontext -u=user-id {-p=encrypted-password | -pf=password-file} [-g=group] [-filename=log-file-name] [-h] Arguments -u Specifies the user ID. This is a user with Teamcenter administration privileges. The user needs appropriate write access to the source and target structures in order to create occurrences groups and attach reports. Note If Security Services single sign-on (SSO) is enabled for your server, the user and password 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 user's password. This password must be encrypted. You can obtain an encrypted password by typing: Copy ipa_b_executer -p=plain-text-password -encrypt Teamcenter returns the encrypted password as output. This argument is mutually exclusive with the -pf argument. -pf Specifies the password file. For more information about managing password files, see Manage password files. 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. -filename Specifies a user defined file name that holds the log file, for example, -filename=D:\myFolder\myFile. If a file name is not specified or remains blank, Teamcenter uses the C:\temp\migrate_vrule_config context_timestamp file as the default. -h Displays help for this utility. Environment As specified in Setting up a Teamcenter command-line environment. Files As specified in Log files produced by Teamcenter. Restrictions None.

Source: https://docs.sw.siemens.com/documentation/external/PL20251212545240207/en-US/tc_help/utilities_reference/gvl1737253698140/xid720417.html · retrieved Fri Jul 31 2026 00:00:00 GMT+0000 (Coordinated Universal Time)