Teamcenter Mechatronics Process Management utilities
associate_domain_data
Adds or removes domain information from design artifacts. Syntax associate_domain_data [-u=user-id {-p=password | -pf=password-file} -g=group] [-action=add/remove][-domain=domain-name][-inputfile=full-path-to-input-file] [-objectsToUpdate=list-of-objectuid] Arguments -u Specifies the user ID. The user must be either a DBA user or one with write access to the design artifacts for which they want to associate domain data. 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 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. -action Add means assign the domain information to the specified objects. Remove means delete the domain information associated with the specified objects. -domain Specifies the domain name to be associated to the specified set of input objects. -inputfile Specifies the full path of the file containing the list of items to be associated with the domain information. -objectsToUpdate Specifies the items to be associated with the specified domain information. Environment As specified in Setting up a Teamcenter command-line environment. Files As specified in Log files produced by Teamcenter. Restrictions None. Examples To associate mechanical domain with objects specified in the uids.txt input file, enter the following command on a single line: Copy associate_domain_data -u=Tc-admin-user -p=password -g=group -action=add -domain="Mechanical" -inputfile="C:\uids.txt"
Source: https://docs.sw.siemens.com/documentation/external/PL20251212545240207/en-US/tc_help/utilities_reference/mqe1737253718001/xid1074754.html · retrieved Fri Jul 31 2026 00:00:00 GMT+0000 (Coordinated Universal Time)