NX The export_ugdwgimages.exe fails when dataset name contains a forward slash "/"

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

Summary


Details

The export_ugdwgimages.exe fails when dataset name contains a forward slash "/".


ITEM_ID=GTAC-TEST-200
REV_ID=00
DATASET_NAME=GTAC-TEST-200-1_DWG/00
"D:\Siemens\NX1872/\Ugmanager\export_ugdwgimages.exe" -pdf -retain_sheets_in_os -bom_file=bom_file.txt -all -text=text -i "-part=@DB/GTAC-TEST-200/00/spec/GTAC-TEST-200-1_DWG/00" 
 
FCC interface version fms.12.2.20190404.00.
Loaded implementation library 'D:\Siemens\Teamcenter12\tcroot\tccs\lib\FCCClientProxyDllv15064.dll'.
FCC Interface Implementation fms.12.2.20190905.00 initialized.
FCC interface version fms.12.2.20190301.00.
Loaded implementation library 'D:\Siemens\Teamcenter12\tcroot\tccs\lib\FCCClientProxyDllv15064.dll'.
Opening part @DB/GTAC-TEST-200/00/spec/GTAC-TEST-200-1_DWG/00 to process...
Open part failed with code 943007
This error means Input was not encoded part file name.
The system cannot find the file specified.

Solution

If the UG parts include a forward slash in their dataset name, e.g. "GTAC-TEST-200-1_DWG/00" instead of just "GTAC-TEST-200-1_DWG". 
Running "-part=@DB/GTAC-TEST-200/00/spec/GTAC-TEST-200-1_DWG/00'  will fail with the message "Open part failed with code 943007".


Solution is to use any character other than a forward slash as a delimiter in the command line (example below uses ? as delimiter):


export_ugdwgimages -all -part=@DB?GTAC-TEST-200?00?spec?GTAC-TEST-200-1_DWG/00

Hardware/Software Configuration

Platform: INTL64
OS: windows
OS Version: 1064
Product: NX
Application: NXMANAGER
Version: V1847
Function: UTILITIES

Ref: 002-8016372

KB Article ID# PL8016372

Contents

SummaryDetails

Associated Components

Teamcenter Integration for NX