TeamcenterKnowledge

Data sharing utilities

diff_xml

Uses the bomwriter-generated output files with the grdvua_on option specified at two days, compares the PLM XML files, and generates a difference XML file. This difference XML file contains all of the changes performed on the assembly structure. This XML file is then used to update the audit log file dataset. Syntax diff_xml -u= user-name {-p=password | -pf=password-file} [-g=group] -item=item-id -rev=revision-id -key=key-id [-h] 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. -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. -item Specifies the item ID of the top node of the assembly structure. -rev Specifies the revision ID of the top node of the assembly structure. -key Specifies the key of the object. The -key argument can be used instead of the -item argument. To find the key of an object, use the get_key_string utility. For more information, see BMIDE for Data Model Design. -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. Examples Open the Teamcenter menu shell with the database connection variables set and then execute the following command: Copy diff_xml -u=Tc-admin-user -p=password -g=group -item=000125 -rev=001 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/diff_xml.html · retrieved Fri Jul 31 2026 00:00:00 GMT+0000 (Coordinated Universal Time)