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

2022-06-03T15:55:22Z
Bill of Materials Management Core Functions

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

KB Article ID# PL7008380

Contents

SummaryDetails

Associated Components

Bill of Materials Management - Structure Manager SM PSE