Example of CGM Defaults File
#
EXPORT_VDC_TYPEREAL
# Map all UG fonts to MY_FONT1, except for BLOCKFONT, which
# will be mapped tp MY_FONT2.
#
EXPORT_TEXT_FONT ALL_UG_FONTS MY_FONT1
EXPORT_TEXT_FONT BLOCKFONT MY_FONT2
# Map fonts for importing CGMs.
#
IMPORT_TEXT_FONT MY_FONT2 BLOCKFONT
IMPORT_TEXT_FONT MY_FONT1 AURORA
# Specify thicker lines for viewing with "MyViewer"; also,
# map those widths back to the original UG widths so that I
# can successfully import the CGM back into UG.
#
EXPORT_WIDTH_MODE SCALED
EXPORT_SCALED_WIDTH THIN 2.0
EXPORT_SCALED_WIDTH NORMAL 5.0
EXPORT_SCALED_WIDTH THICK 8.0
IMPORT_SCALED_WIDTH THIN 2.0
IMPORT_SCALED_WIDTH NORMAL 5.0
EXPORT_SCALED_WIDTH THICK 8.0
The following example is appropriate for PC software that support only INTEGER VDC coordinates and only ABSOLUTE width values.
#
EXPORT_VDC_TYPE INTEGER
EXPORT_WIDTH_MODE ABSOLUTE
# Define thicker than usual lines.
#
EXPORT_ABSOLUTE_WIDTH THIN 0.2
EXPORT_ABSOLUTE_WIDTH NORMAL 0.7
EXPORT_ABSOLUTE_WIDTH THICK 1.5
IMPORT_ABSOLUTE_WIDTH THIN 0.2
IMPORT_ABSOLUTE_WIDTH NORMAL 0.7
IMPORT_ABSOLUTE_WIDTH THICK 1.5