Manufacturing utilities
import_nxcam_post_files
Imports CAM post and CSE driver data from an operating system-based file system into the Teamcenter database. For example, you can use this utility to import the files currently being used in the NX environment to the Teamcenter database. In this situation, run this utility only once to initially load existing supporting files into the Teamcenter database. Once the correct NX customer default is set, the files are stored correctly during the sessions. Syntax import_nxcam_post_files [-u=user-id {-p=password | -pf=password-file} -g=group] -action=ignore | overwrite | new_revision [-import_dir=import-directory-name] [-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. -action Specifies the actions performed during the import. ignore Does not import objects that already exist in the database. overwrite Overwrites objects that already exist in the database. new_revision Creates a new revisions of the objects that already exists in the database. This is the default setting. -import_dir Specifies the directory containing the CAM post and CSE driver data to be imported. If this argument is not used, one of the environment variables listed in the Environment section must be set. -h Displays help for this utility. Environment As specified in Setting up a Teamcenter command-line environment. If the -import_dir argument is not specified, one of the following environment variables must be set before running this utility: UGII_CAM_POST_DIR Imports global postprocessor files and/or posts and ISV drivers for generic machines. UGII_CAM_USER_DEF_EVENT_DIR Imports user-defined event files. UGII_CAM_SHOP_DOC_DIR Imports shop documentation files. UGII_CAM_LIBRARY_INSTALLED_MACHINES_DIR Imports the post/CSE files of installed machines. For additional information on these environment variables, see the NX documentation. Files As specified in Log files produced by Teamcenter. Restrictions None. Examples To import machine post and CSE data from d:\import_dir directory using the default action, enter the following command on a single line: Copy %TC_ROOT%\bin\import_nxcam_post_files -u=Tc-admin-user -p=password -g=group -import_dir=d:\import_dir To import machine post and CSE data from the d:\mach\resource directory using the -overwrite action, enter the following command on a single line: Copy %TC_ROOT%\bin\import_nxcam_post_files -u=Tc-admin-user -p=password -g=group -action=overwrite -import_dir=d:\mach\resource To import only global postprocessor files from the d:\mach\resource\postprocessor directory to the database using the default action, enter the following two commands. Copy set UGII_CAM_POST_DIR= d:\mach\resource\postprocessor %TC_ROOT%\bin\import_nxcam_post_files -u=Tc-admin-user -p=password -g=group -import_dir=d:\import_dir
Source: https://docs.sw.siemens.com/documentation/external/PL20251212545240207/en-US/tc_help/utilities_reference/gvl1737253698140/id768847.html · retrieved Fri Jul 31 2026 00:00:00 GMT+0000 (Coordinated Universal Time)