Teamcenter Automotive Edition-GM Overlay utilities
gmo_create_material_form_templates
Creates new material form templates by reading the input from an ASCII text file. Input must be supplied in a defined format, as specified below. Material form templates are of the form type Material and are stored in folders or subfolders of the folder type Material Template. These folders and forms are stored in the GM Preferred Materials Catalog that is displayed in the Teamcenter administrative user's Home folder. Input File Format This section describes the input file format using the sample folder structure shown in the following figure. Sample directory structure To achieve the structure shown in the sample directory structure, the input file must be in the following format: Copy
value of p_pcoat# value of p_perf# value of p_pcperf# value of Copy p_appear#
\value of p_fin# value of p_svc# value of p_addreq# value of p_mateng
value of Copy p_appeng# value of p_pnteng Folders are delimited by a colon (:), folders and forms are delimited by a dollar sign ($), and the form and form values are delimited by the (#) symbol. Note The delimiting symbols described in the previous paragraph assume that these symbols are not used as values in any of the materials form fields. The following is an example of the input file format. Copy Metals:Hard:Corossive$ALUMINUM_001#p_mat#p_pcoat#p_perf#p_pcperf
#p_appear#p_fin#p_svc#p_addreq#p_mateng#p_appeng#p_pnteng Metals:Hard:Corossive$COPPER_001#p_mat#p_pcoat#p_perf#p_pcperf#p_appear #p_fin#p_svc#p_addreq#p_mateng#p_appeng#p_pnteng Metals:Soft$BRONZE_001#p_mat#p_pcoat#p_perf#p_pcperf#p_appear #p_fin#p_svc#p_addreq#p_mateng#p_appeng#p_pnteng Metals:Soft$SSTEEL_001#p_mat#p_pcoat#p_perf#p_pcperf#p_appear #p_fin#p_svc#p_addreq#p_mateng#p_appeng#p_pnteng Colors$BROWNM_001#p_mat#p_pcoat#p_perf#p_pcperf#p_appear #p_fin#p_svc#p_addreq#p_mateng#p_appeng#p_pnteng Colors:Metallic$MAROON_001#p_mat#p_pcoat#p_perf#p_pcperf#p_appear #p_fin#p_svc#p_addreq#p_mateng#p_appeng#p_pnteng Colors:Metallic$METGREEN_001#metallic#green#high#corrosive#greeenish #smooth#reqires applying greese#none#user#user#user Syntax gmo_create_material_form_templates [-u=user-id {-p=password | -pf=password-file} -g=group] [-infile=full-path-to-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 -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 full path to the input file. -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. In addition, the gmo_create_material_form_templates.log file is created in the directory from which the utility is run. Restrictions None. Examples To obtain help for this utility, enter the following command on a single line: Copy gmo_create_material_form_templates -h To read the supplied input file and create folders and forms that are inserted in the GM Preferred Materials Catalog folder, enter the following command on a single line: Copy $GMPDM_ROOT/bin/gmo_create_material_form_templates -u=Tc-admin-user Copy -p=password -g=group -infile=/tmp/MATERIAL.txt Related Topics Teamcenter Automotive Edition
Source: https://docs.sw.siemens.com/documentation/external/PL20251212545240207/en-US/tc_help/utilities_reference/xvu1737253712125/gmo_create_material_form_templates.html · retrieved Fri Jul 31 2026 00:00:00 GMT+0000 (Coordinated Universal Time)