Data sharing utilities
upload_plmxml_struct
Uses the item ID and revision ID of the top node of the assembly and the revision rule and executes the bomwriter utility with options specified in the arguments. The PLM XML file generated is then attached as a named reference to the DirectModelAssembly dataset. Syntax upload_plmxml_struct [-u=user-id {-p=password | -pf=password-file} -g=group] [-item=item-id | -key=[keyAttr1=keyVal1] [,keyAttr2=keyVal2]…[,keyAttrN=keyValN]] -rev=revision-id -rev_rule=revision-rule [-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. -key Specifies the key of the of the top node of the assembly structure. Copy [keyAttr1=keyVal1] [,keyAttr2=keyVal2]…[,keyAttrN=keyValN] To find the key of an object, use the get_key_string utility. For more information, see BMIDE for Data Model Design. -rev Specifies the revision ID of the top node of the assembly structure. -rev_rule Specifies the revision rule to use to apply on the assembly and create the structure output. -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 execute the following command: Copy upload_plmxml_struct -u=Tc-admin-user -p=password -g=group -item=000125 -rev=001 -rev_rule="Latest Working" 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/upload_plmxml_struct.html · retrieved Fri Jul 31 2026 00:00:00 GMT+0000 (Coordinated Universal Time)