TeamcenterKnowledge

Data sharing utilities

batch_export_translate_import

Exports, translates, and/or imports the named reference of a given type attached to the specified dataset type that is attached to a specified item revision with the given relation type. For example, this utility could be used to export .wire files (named references) from the ALIAS_PROJECT dataset attached to a specified CORP_CriteriaRevision item revision with an IMAN_specification relation to the directory specified by the -output_path directory. This utility works in one of the following modes: Export mode (-e) Exports datasets from Teamcenter. Import mode (-i) Imports datasets to Teamcenter. Export, translate, import mode (-eti) Exports, translates, and imports the dataset back in to Teamcenter. Syntax batch_export_translate_import [-u=user-id {-p=password | -pf=password-file} -g=group] -infile=input-file -output_path=output-path -translator=translator-executable -e -i -eit -nolog [-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. -infile Specifies the input file for exporting, translating, and importing a list of datasets. -i Specifies that the utility performs only the batch import. The input file format is as follows: Copy item-id|rev-id|dataset-type|relation|reference-type|dataset-uid| new-dataset-name|path-of-file-to-be-imported -e Specifies that the utility performs only batch export. The file format for exporting a given list of datasets is as follows: Copy item-id|rev-id|dataset-type|relation|reference-type|dataset-uid -eti Specifies that the utility export, translate, and import a list of datasets. The file format for exporting a given list of datasets is as follows: Copy item-id|item_rev-id|dataset-type|relation-type|reference-name|dataset-uid -translator Specifies the translator executable or batch file used to translate the exported files. -nolog Specifies that a log file will not be generated when the utility is run. -h Displays help for this utility. Environment As specified in Setting up a Teamcenter command-line environment. In addition, the log file is created in the local directory specified by either the TMP or TEMP environment variable. Files As specified in Log files produced by Teamcenter. Restrictions None. Examples To export the list of given datasets to the C:\temp directory, enter the following command on a single line: Copy batch_export_translate_import -u=user-name -p=password -g=group-name -e -infile=input-file-with-dataset-details -output_path=c:\temp To import the list of given datasets, enter the following command on a single line: Copy batch_export_translate_import -u=user-name -p=password -g=group-name -i -infile=input-file-with-dataset-details -output_path=c:\temp To translate the list of given datasets, enter the following command on a single line: Copy batch_export_translate_import -u=user -p=password -g=group-name -eti -infile=input-file-with-dataset-details -translator=input-translator-file -output_path=c:\temp 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/batch_export_translate_import.html · retrieved Fri Jul 31 2026 00:00:00 GMT+0000 (Coordinated Universal Time)