TeamcenterKnowledge

Manufacturing utilities

install_mes_templates

Creates a dataset containing all files and relations necessary to generate a 3D PDF report using the Generate 3D PDF Report wizard. As input, this utility requires an XML file that contains the paths to the required files as well as a variety of parameters. Syntax install_mes_templates -u=user-id {-p=encrypted-password | -pf=password-file} [-g=group] [-type=optional-dataset-type] [-desc=optional-dataset-description] -file=qualified-path-to-XML-input-file [-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 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 user's password. This password must be encrypted You can obtain an encrypted password by typing: Copy ipa_b_executer -p=plain-text-password -encrypt Teamcenter returns the encrypted password as output. 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. -type Specifies the dataset type. The default value is Mes0PDFReportTemplate. -desc Specifies a dataset description. -file Specifies the path to the XML file that is used as input for this utility. For more information, see XML file syntax. -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. XML file syntax The following is a sample XML file required as input for this utility. Copy You must modify the following parameters: ME_3D_PDF_ImportData Identifies the beginning and end of the XML file. Templates Lists all templates. TemplateInput Specifies a new template that you must add to the ME3DPDFAllowedReportTemplates preference. Each TemplateInput element contains all the details for a specific template. You can include multiple TemplateInput elements in one ME_3D_PDF_ImportData file. The TemplateInput element can have the following elements: PDF file Specifies the path to the PDF file that you modify with Adobe LiveCycle Designer. Thumbnail file Specifies the path to the JPEG thumbnail file that is used to display the new report template in the list of available templates in the Generate 3D PDF Report wizard. Stylesheet file Specifies the path to the XSL style sheet that you can use to modify the format of the report and to add new properties. DynamicJS file Specifies the path to the JavaScript file that you can use to modify various control behaviors. TM name Specifies the path to the transfer mode that determines what data is included in the report. Generally, you need to modify this file to reflect your data model. Contain2D val Specifies whether the report contains 2D data. Contain3D val Specifies whether the report contains 3D data. ContainSimulation val Specifies whether the report contains simulation data originating from Process Simulate. DataSource val Specifies whether the report contains Teamcenter (TC) or Process Simulate (PS) data. Override val Specifies whether the report is overwritten each time you run the wizard or if it creates a new report each time. Specification val Specifies various options available in the Create 3D PDF Report wizard. Valid values are: SHOW_DATASELECTION_PAGE=STEPS_DEF_OPTIONS Specifies that the wizard displays the data selection page. PRINT_VERSION=True Specifies that a print version of the report is created along with the interactive template. MULTI_PAGE=True Specifies whether the report contains multiple pages. This is applicable to 2D PDF reports only. PRC_SIMULATION=True Specifies whether the template is used for PRC or U3D simulation data. If ContainSimulation val=True and PRC_SIMULATION is not set or set to False, the template supports only U3D simulations. If ContainSimulation val=True and PRC_SIMULATION=True, the template supports only PRC simulations.

Source: https://docs.sw.siemens.com/documentation/external/PL20251212545240207/en-US/tc_help/utilities_reference/gvl1737253698140/xid646568.html · retrieved Fri Jul 31 2026 00:00:00 GMT+0000 (Coordinated Universal Time)