NX X Need to bypass naming rules and can't get NR_Bypass to work

2021-10-06T23:27:19Z
NX for Design

Summary


Details

--------------- 
Importing legacy data to a database where the naming technique is autotranslate causes a clash in the existing naming rule for the item types.


There is a need to bypass the naming rule so the import can be performed.


Setting the "NR_Bypass" in the command prompt doesnt seem to work.



Solution

 The setting needs to be upper case, NR_BYPASS. Valid values are On and Off. 

Default is Off


Also, if your DB has a BYPASS_RULES preference set, this might be preventing this from working. The BYPASS_RULES is evaluated first and will cause the NR_BYPASS to be ignored.


With regards to the BYPASS_RULES preference, this was used in earlier versions of TC/IMAN and it could be in the list of preferences. If you don't see it, don't be concerned. It isn't an OOTB preference. But, if it is present the NR_BYPASS preference will be ignored.


There are 2 places NR_BYPASS can be set. 


First, it can be set as an environment variable on the client. In this context 
it is used typically for upgrading a database from earlier versions of TC where a naming rule might cause TEM to fail. 


This isn't something you would want to set and forget. 


Are you importing data from the command prompt? ugmanager_clone? If so, set this in the command window prior to running the import and run the import as a DBA user.


The second place you could set this is as a site, group, role or user 
preference. It will work for any of the 4 providing the group=dba or the 
role=DBA.

Notes and References

IR 6697552 - I need to bypass naming rules and can't get NR_Bypass to work



Hardware/Software Configuration

Platform: INTL64
OS: windows
OS Version: 2016
Product: NX
Application: NXMANAGER
Version: V1876
Function: CLONE_IMPORT

Ref: 002-7004295

KB Article ID# PL7004295

Contents

SummaryDetails

Associated Components

Teamcenter Integration for NX