NX X CGM Export Fails to Capture Raster Image on Drawing.

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

Summary


Details

CGM Export Fails to Export Raster Image on Drawing. 



Solution

The problem may not be in the CGM exported file but in the CGM viewer used to display the CGM. Some CGM viewers fail to support all the different raster image formats available. 


In NX8.5, the default raster-image format was "run-length-encoded cell array". However, in NX 9.0 and later, the default format was changed to PNG in order to reduce the size of the CGM file. Some CGM viewers do not support the PNG format, so when using such a viewer, set the environment variable UGII_CGM_RASTER_ELEMENT [  BEFORE  ] starting NX to force the CGM export functionality to generate raster images in a different format. 


Here are the possible settings:


UGII_CGM_RASTER_ELEMENT=cell 
UGII_CGM_RASTER_ELEMENT=rle_cell /* the default in NX8.5 */ 
UGII_CGM_RASTER_ELEMENT=tile 
UGII_CGM_RASTER_ELEMENT=rle_tile 
UGII_CGM_RASTER_ELEMENT=jpg 
UGII_CGM_RASTER_ELEMENT=png


If the tool being used to view CGM files generated by NX cannot display the raster image on the NX drawing, then "set UGII_CGM_RASTER_ELEMENT=rle_cell" and run NX again, which will resolve the problem of not seeing the raster image with your viewer.



Notes and References





Hardware/Software Configuration

Platform: INTL64
OS: window
OS Version: 10_1803
Product: NX
Application: GATEWAY
Version: V12.0.2
Function: CGM_EXPORT

Ref: 001-9150228

KB Article ID# PL8004200

Contents

SummaryDetails

Associated Components

Modeling