Data sharing utilities
validate_and_replicate_assembly
Validates an assembly with checks based on parameters and generates a PLM XML file containing a list of all components in a configured assembly. The utility gets a list of participating sites using the project that the assembly root item is assigned to and invokes the replication mechanism to update the assembly components to all the participating sites. Use this utility only from a translator task to generate PLM XML output for an assembly that is being released. Syntax validate_and_replicate_assembly [-u=user-name {-p=password | -pf=password-file} -g=group] -item_id=assembly-root -rev=revision -revision_rule=revision-rule [-variant_rule=rule-to-configure-BOM] [ -check_precise] [ -check_no_stubs] [ -check_all_released] [-h] Arguments Note Entries in parentheses are accepted abbreviations for arguments. -u Specifies the user ID. This is a user with Teamcenter administration privileges. Note If Security Services single sign-on (SSO) is enabled 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. If this argument is not used, the system assumes the user-ID value is the password. -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. Caution For HTTP enabled sites, remote site operations log on using the default group for the user supplied with the -u argument. Any value supplied with the -g argument is ignored. -item_id Specifies the top item in the assembly structure. -rev Specifies the top item revision used to configure the structure. -revision_rule Specifies the name of the revision rule used to configure the assembly. -variant_rule Specifies the variant rule used to configure the assembly. If not specified, the default variant rule set at the site level is used. -check_precise Performs a validation check on the complete assembly to ensure that all sub assemblies are precise. -check_no_stubs Performs a validation check on the complete assembly to ensure that there are no stubs in the assembly. -check_all_released Performs a validation check on the entire assembly to ensure that all components are released. -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. Examples Note Required logon information is omitted from the following examples. The following command validates that the assy_root assembly is a precise assembly with no stubs and all components are released. It also replicates the assembly to all participating sites: Copy validate_and_replicate_assembly -u= -p= -g=dba -item_id=assy_root -rev=A -revision_rule=Latest Released -check_precise -check_no_stubs -check_all_released Related Topics TC XML and PLM XML Configuration for Data Import and Export Multi-Site Collaboration
Source: https://docs.sw.siemens.com/documentation/external/PL20251212545240207/en-US/tc_help/utilities_reference/avt1737253695886/validate_and_replicate_assembly.html · retrieved Fri Jul 31 2026 00:00:00 GMT+0000 (Coordinated Universal Time)