Teamcenter Specifying a Teamcenter Revision Rule When Exporting Parts from NX using a Log File

2022-06-03T15:55:22Z
Bill of Materials Management Application Usage & Administration

Summary


Details

Specifying a Teamcenter Revision Rule when exporting NX parts out of Teamcenter using a log file.



Solution

Since Teamcenter v10 it is now possible to set preferences in a command window. To allow preferences to be set they must have "Environment" set to "Enabled".  This is done via "Edit --> Options" in Teamcenter, selecting the preference, selecting Edit and changing the Environment pull down and then save the change.


Therefore, to specify the Revision Rule to be defined when exporting the parts out of Teamcenter, enter something similar to the following in an NX Command Prompt:


set TC_config_rule_name=Any Status; Working


Note that it is not necessary to enter quotes around the value. 
Once set, use ug_clone with the necessary switches to specify a log file and export the desired revisions of the parts. For example:


ug_clone -pim=yes -u=xxxxxx -p=yyyyyyy -o=export -l=export.clone



Notes and References


Hardware/Software Configuration

Platform: INTL64
OS: window
OS Version: 764SP1
Product: NX
Application: NXMANAGER
Version: V1847
Function: CLONE_EXPORT
Product: TEAMCENTER
Application: STRUCTURE_MGR
Version: V12.1
Function: REVISION_RULES

Ref: 002-7008380

KB Article ID# PL7008380

Contents

SummaryDetails

Associated Components

Structure Manager