TeamcenterKnowledge

Data sharing utilities

utility_execution_set

This utility runs supported Teamcenter utility commands under a single login session. utility_execution_set logs in once, calls all utility commands contained in a referenced text file in the order specified, and then logs out of the session. None of the called utility commands log in and log out; they all run in the login session created by utility_execution_set. Hence, execution time for the set is reduced because there is only one log in and one log out for the set. All the commands in the list must use the same login credentials (user name, password, and group); successive commands run in the session that is created for the first command in the list. Supported utilities include the following: aie_install_datamodel_objs import_file install_callback install_handlers install_xml_stylesheet_datasets I10n_cots_import_translations plmxml_import plmxml_tm_edit_xsl preferences_manager (for -set_overlay use -loginType=POM) tcxml_import Syntax utility_execution_set -loginType=<POM, ITK, AUTO> -configFile= [-forceUnixEnvFormat] [-log=] [-h] Arguments -loginType All utility command lines specified in with -configFile use this type of login for the single session. Use AUTO as the input for this utility except as noted in the list of supported utilities. Valid values: POM Indicates using a POM session (which is restricted to POM calls) ITK Indicates using a regular ITK session AUTO Indicates using an autologin session -configFile Each line in this file contains the command line used for utility execution. The format is the same as used for inclusion in the install_project.default and upgrade_project.default files maintained in the Business Modeler IDE. Environment variable specification is allowed in the command line(s) specified in this file. Windows platform uses a specification like %%. Example %TC_PASSWD% Linux platforms use a specification like ${<env var name}. Example ${TC_PASSWD} -forceUnixEnvFormat Force this utility to use the UNIX format specification to determine environment variable values in the file specified by -configFile. -log The path of the log file which contains results of this execution. -h Displays the help for this utility. Environment As specified in Manually configure the Teamcenter environment. Files As specified in Log files produced by Teamcenter. Restrictions This utility is limited to use with the supported utilities. Example Run the commands in the file my_preferences_commands.txt. Copy utility_execution_set -loginType=AUTO -configFile=my_references_commands.txt Contents of my_preferences_commands.txt: Copy preferences_manager -u=Tc-admin-user -p=password -g=group -mode=import -action=OVERRIDE -scope=SITE -context=Teamcenter -file=%TC_INSTALL_DIR%/cntmgt10d40/cntmgt10d40_preference_override.xml tcxml_import -u=Tc-admin-user -p=password -g=group -file=%TC_INSTALL_DIR%/systemsengineering/systemsengineering_transfermodes.xml -scope_rules -scope_rules_mode=overwrite tcxml_import -u=Tc-admin-user -p=password -g=group -scope_rules -scope_rules_mode=append -file=%TC_INSTALL_DIR%/systemsengineering/systemsengineeringTransferOptionSets.xml preferences_manager -u=Tc-admin-user -p=password -g=group -mode=import -action=OVERRIDE -scope=SITE -context=Teamcenter -file=%TC_INSTALL_DIR%/systemsengineering/systemsengineering_preference_override.xml 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/xid1671650.html · retrieved Fri Jul 31 2026 00:00:00 GMT+0000 (Coordinated Universal Time)