Data sharing utilities
appmodel_fix_scope
Fixes the scope information for imported 4th Generation Design (4GD) objects at the target site. You must run this utility the target site after you import a low-level TC XML file that contains 4GD objects. For site consolidation activities, it should be run after each import that contains 4GD objects and it must be run before any objects have their ownership transferred. Syntax appmodel_fix_scope -u=user-ID {-p=password | -pf=password-file} [-g=group] [-fix_scope_for_replicas] [-log][-h] Arguments -u Specifies the user ID. The user must have administrative privileges. If this argument is used without a value, the operating system user name is used. Note If your Teamcenter server uses Security Services single sign-on, see Before you begin for additional information. -p Specifies the user's password. If used without a value, the system assumes a null value. If this argument is not used, the system assumes the user-ID value to be the password. This argument is mutually exclusive with the -pf argument. -pf Specifies the password file. If used without a value, the system assumes a null value. If this argument is not used, the system assumes the user-ID value to be the password. 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. -fix_scope_for_replicas Fixes the scope information for imported replica model elements and artifacts imported in a low-level TC XML file. -log Specifies the name of the file containing the log entries for the utilities actions. If you do not supply this argument, the utility saves the log entries in the fixScopeLog.log file. -h Displays the 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 This utility does not function if the ownership of 4GD replica objects has been transferred to the target site. I must be run before any ownership transfers take place. Examples To fix the scope information for replica model elements and artifacts and log the actions in the Site2Import.log file: Copy appmodel_fix_scope -u=Tc-admin-user -p=password -g=group -fix_scope_for_replicas -log=Site2Import.log 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/appmodel_fix_scope.html · retrieved Fri Jul 31 2026 00:00:00 GMT+0000 (Coordinated Universal Time)