NX Problem where a warning occurs if "%" is included in the ItemID.

2021-10-06T23:26:26Z
NX for Design

Summary


Details

o Create a Part @DB/model1%01/AA in TC.
 I ran the following command.
 D:\Siemens\NX11\ugmanager\ugmanager_clone.bat -pim=yes -u=infodba -p=infodba -g=dba -o=export -asse=@DB/model1%01/AA -default_n=autotranslate -s=C:\test\export.log
 
 
 Message--------------
 Warning: (943011) - Part with given part number does not exist.
 While adding assembly model1C:\test\export.log1,AA to the operation 
 Logging export to C:\test\export.log 
 export completed successfully 

Solution

The issue is not specific to the utility (ugmanager_clone.bat). This is a limitation of DOS where when % is provided as command argument, %0 will get replaced in accordance with the batch file. To escape
this, use %% instead of % if file name consists of %.


The problem is specific to the *.bat script and does not happen when exported interactively or running ug_clone.exe(utilities) directly. 

Notes and References

9116389

Hardware/Software Configuration

Platform: INTEL
OS: window
OS Version: 764SP1
Product: NX
Application: NXMANAGER
Version: V11.0.2
Function: CLONE

Ref: 002-8005783

KB Article ID# PL8005783

Contents

SummaryDetails

Associated Components

Teamcenter Integration for NX