TeamcenterKnowledge

Manufacturing utilities

gcs_import

Imports GCS connection types and connection point definitions from an XML file. For more information about using the guided component search, see Resource Manager on Rich Client. Syntax gcs_import [-u=user-id {-p=password | -pf=password-file } -g=group] -xml_file=xml_file_name -import_mode=ignore | overwrite [-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 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. -xml_file Specifies the name of an XML file containing connection types and connection point definitions. The syntax of this file is explained in the EXAMPLES section. -import_mode Specifies how existing data is handled by the import. Valid values are: ignore The existing data is skipped by the import. overwrite The existing data is replaced by the contents of the XML 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. Restrictions None. Examples To import the connection type and connection point definition found in an XML file named GCS_data.xml, enter the following command on a single line: Copy GCS_import -u=user-id -p=password -g=group -xml_file=GCS_data.xml -import_mode=ignore The GCS_data.xml file must have the following format: Copy CT_Cylinder -40032 <= -40033 >= CT_Square -40127 = CT_Insert -40920 = TC_MILL_10_10_100 CT_Cylinder 1 1 Upwards Plug -40032 #-40235 -40033 #-40235 TC_DRILL_12_10_100 CT_Cylinder 1 1 Upwards Plug -40032 #-40235 -40033 #-40235 TC_HOLDER_20_00_190 CT_Cylinder 1 1 Upwards Socket -40032 #-40032 -40033 #-40033 TC_HOLDER_10_00_110 CT_Square 1 1 Upwards Socket -40127 #-40127 TC_TURN_10_10_100 CT_Square 1 1 Upwards Plug -40127 #-40238 TC_TURN_10_10_100 CT_Insert 2 1 Downwards Socket -40920 #-40920 TC_INSERT_10_00_110 CT_Insert 1 1 Upwards Plug -40920 #-40920 Related Topics Basic Classification on Rich Client ─ Usage Resource Manager on Rich Client

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