NX Clone:Cannot export ItemID with minus sign "-" at the start of the ID

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

Summary


Details

--------------- 
Cannot export ItemID with minus sign "-" at the start of the ID


ug_export -u=infodba -p=infodba -config="Latest Working" 
-mapping=D:\temp\ug_export\mapping.txt -export_dir=D:\temp\ug_export 
-part="-PART01" -rev=00



Solution

 The WorkAround for exporting ItemID with minus signs "-" at the start of the ID is to 
put the entire -part switch and value inside of quotes and ug_export.bat will 
parse it correctly. 


Change the command line from: 
 ug_export -u=infodba -p=infodba -config="Latest Working" 
-mapping=D:\temp\ug_export\mapping.txt -export_dir=D:\temp\ug_export 
-part="-PART01" -rev=00


To:


 ug_export -u=infodba -p=infodba -config="Latest Working" 
-mapping=D:\temp\ug_export\mapping.txt -export_dir=D:\temp\ug_export 
"-part=-PART01" -rev=00



Notes and References


Hardware/Software Configuration

Platform: INTL64
OS: windows
OS Version: 10_1607
Product: NX
Application: NXMANAGER
Version: V12.0
Function: CLONE_EXPORT

Ref: 002-7004481

KB Article ID# PL7004481

Contents

SummaryDetails

Associated Components

Teamcenter Integration for NX