UF_CGM_colors_e (view source)
 
Defined in: uf_cgm_types.h
 
Also known as:
 
Overview
Enumerated data type UF_CGM_colors_t defines symbols to specify the
colors applied to geometry recorded in exported CGM files. The colors
field of the UF_CGM_export_options_t structure is set to one of these
symbols.


Data Members

UF_CGM_AS_DISPLAYED_COLORS
Apply the colors displayed on screen.

UF_CGM_PART_COLORS
Apply the colors of the part color table.

UF_CGM_CUSTOM_PALETTE_COLORS
Apply the session custom colors.

UF_CGM_BLACK_ON_WHITE
Apply black to all geometry.

UF_CGM_LEGACY_COLORS
Apply 15 fixed colors supported by
NX releases before NX 3.

UF_CGM_COLOR_BY_WIDTH
Apply the first twelve entries(representing
thin, normal & thick and 9 new widths) of the session
custom colors. In otherwords the color is
determined by the density index. All thin
objects will plot using the first color
entry, all normal objects will plot with
the second color entry, and all thick
objects will plot in the third color entry, etc.

 


 
UF_CGM_export_reason_e (view source)
 
Defined in: uf_cgm_types.h
 
Also known as:
 
Overview
CGM EXPORT REASONS

Applications can implement callback functions to monitor
CGM export operations in order to control whether/how application-
specific geometry is recorded in the CGM file.

To support this monitoring, a "reason" is specified for each CGM
export operation, so an application can evaluate the reason in
deciding whether/how to respond to the operation. For example, an
application might generate application geometry differently during
plotting than during CGM export operations for non-plotting reasons
(File->Export->CGM, File->Print, export operations invoked
programmatically by applications, etc.).

Enumerated type UF_CGM_export_reason_t enumerates symbols/codes that
represent the possible reasons for a CGM export operation.

Code UF_CGM_plot_reason is specified for CGM export operations invoked
by plotting functionality, including File->Plot and corresponding
NX Open and GRIP functionality.

Code UF_CGM_export_reason is specified for CGM export operations
invoked by File->Export->CGM and can be used by UF_CGM_export_cgm.

Code UF_CGM_print_reason is specified for CGM export operations
invoked by File->Print and can be used by UF_CGM_export_cgm.

Code UF_CGM_copy_display_reason is specified for CGM export operations
invoked by Edit->Copy Display can be used by UF_CGM_export_cgm.

Code UF_CGM_pdf_reason can be used by UF_CGM_export_cgm when the CGM
is to be used to create a PDF.

Code UF_CGM_pdf_hidden_text_reason is specified for File->Export PDF
and can be used by UF_CGM_export_cgm. Note that using this reason
will generate a non-standard CGM file if you also request Text as Text.
The CGM file will only be properly interpreted by the cgm2pdf executable.
The NX text will be both stroked and added as hidden text for the PDF.
The visible stroked text will render the text as seen in NX, and the
hidden text will give searchable text in the PDF file.

Code UF_CGM_misc_appl_reason is specified for CGM export operations
invoked programmatically by an application unless an application-
specific reason code is defined.


Data Members

UF_CGM_plot_reason = 0
Plotting either interactive, NXOpen or Grip

UF_CGM_export_reason
CGM Export either interactive or NXOpen

UF_CGM_print_reason
File->Print either interactive or NX Open

UF_CGM_copy_display_reason
Edit->Copy Display

UF_CGM_pdf_reason
CGM is for a PDF

UF_CGM_misc_appl_reason
All other CGM Export operations

UF_CGM_pdf_hidden_text_reason
File->Export PDF

UF_CGM_vised_hidden_text_reason
Visual Editor

UF_CGM_max_reasons


 


 
UF_CGM_export_source_e (view source)
 
Defined in: uf_cgm_types.h
 
Also known as:
 
Overview
The values of enumerated type UF_CGM_export_source_t identify the
content or source for a CGM export operation, so applications can
determine whether the source is relevant. The following values
can be specified.

UF_CGM_drawing_sheet: specified when exporting a drawing sheet by
tag (e.g. non-NULL drawing tag).

UF_CGM_current_display_is_drawing_sheet: specified when exporting
the current display/layout, but the current layout represents a
drawing sheet. Also specified when exporting an expanded member
view of a drawing sheet.

UF_CGM_current_display_is_modeling_layout: specified when exporting
the current display/layout, but the current layout represents a
modeling layout.


Data Members

UF_CGM_drawing_sheet


UF_CGM_current_display_is_drawing_sheet


UF_CGM_current_display_is_modeling_layout


 


 
UF_CGM_fonts_e (view source)
 
Defined in: uf_cgm_types.h
 
Also known as:
 
Overview
Enumerated data type UF_CGM_fonts_t defines symbols to specify how
text fonts are recorded in the CGM file. The fonts field of the
UF_CGM_export_options_t structure is set to one of these symbols.


Data Members

UF_CGM_1_CALS_FONT
Map all NX fonts to CALS font Hershey
Simplex Roman.

UF_CGM_4_CALS_FONTS
Map NX fonts 1 through 4 to CALS fonts
as follows:
1: Hershey Simplex Roman
2: Hershey Cartographic Roman
3: Hershey Simplex Script
4: Hershey Complex Italic
Map all other NX fonts to CALS font
Hershey Simplex Roman.

UF_CGM_NX_FONTS
Record the names of NX fonts in the CGM.

UF_CGM_DEFAULT_FILE_FONTS
Record fonts according to text font mapping
keywords specified in the CGM Defaults File
(cgmdef.txt).

 


 
UF_CGM_size_mode_e (view source)
 
Defined in: uf_cgm_types.h
 
Also known as:
 
Overview
Enumerated data type UF_CGM_size_mode_t defines symbols to indicate
how the size of CGM geometry is specified. The mode field of the
UF_CGM_size_t structure is set to one of these symbols.


Data Members

UF_CGM_SIZE_BY_SCALE
Specify size as a scale factor.

UF_CGM_SIZE_BY_DIMENSIONS
Specify size as dimensions.

 


 
UF_CGM_text_mode_e (view source)
 
Defined in: uf_cgm_types.h
 
Also known as:
 
Overview
Enumerated data type UF_CGM_text_mode_t defines symbols to specify
how text is represented in the CGM file. The text_mode field of the
UF_CGM_export_options_t structure is set to one of these symbols.


Data Members

UF_CGM_TEXT_AS_POLYLINES
Record text as CGM polyline elements.

UF_CGM_TEXT_AS_CHARACTERS
Record text as as CGM text elements.

UF_CGM_TEXT_BEST_FIT
Record standard fonts as CGM text elements,
record NX fonts as CGM polyline elements

UF_CGM_TEXT_RESERVED1
RESERVED - internal use only

UF_CGM_TEXT_RESERVED2
RESERVED - internal use only

 


 
UF_CGM_units_e (view source)
 
Defined in: uf_cgm_types.h
 
Also known as:
 
Overview
Enumerated data type UF_CGM_units_t defines symbols to indicate
the units of dimensions that specify the size of CGM geometry. The
units field of the UF_CGM_dimensions_t structure is set to one of
these symbols.


Data Members

UF_CGM_MILLIMETERS


UF_CGM_INCHES


 


 
UF_CGM_vdc_mode_e (view source)
 
Defined in: uf_cgm_types.h
 
Also known as:
 
Overview
Enumerated data type UF_CGM_vdc_mode_t defines symbols to specify how
coordinates are represented in the CGM file. The vdc_mode field of
the UF_CGM_export_options_t structure is set to one of these symbols.


Data Members

UF_CGM_INTEGER_VDC
Use 16-bit integer coordinates.

UF_CGM_REAL_VDC
Use 32-bit real coordinates.

 


 
UF_CGM_width_single_e (view source)
 
Defined in: uf_cgm_types.h
 
Also known as:
 
Overview
ENUMERATED: UF_CGM_width_single_t

DESCRIPTION: This enumerated type specifies the source of a single width
is, one of the standard widths, one of custom widths, or a user-defined
width.


Data Members

UF_CGM_width_std
single width, standard

UF_CGM_width_custom
single width, custom

UF_CGM_width_user
single width, user-defined

 


 
UF_CGM_width_use_e (view source)
 
Defined in: uf_cgm_types.h
 
Also known as:
 
Overview
ENUMERATED: UF_CGM_width_use_t

DESCRIPTION: This enumerated type specifies the primary selection of
width assignment, a single width, the custom widths, or by color.


Data Members

UF_CGM_width_single
single width

UF_CGM_width_by_width
custom widths by width index

UF_CGM_width_by_color
custom widths by color index

 


 
UF_CGM_widths_e (view source)
 
Defined in: uf_cgm_types.h
 
Also known as:
 
Overview
Enumerated data type UF_CGM_widths_t defines symbols to specify the
line widths applied to geometry recorded in exported CGM files. The
widths field of the UF_CGM_export_options_t structure is set to one
of these symbols.


Data Members

UF_CGM_STANDARD_WIDTHS
Apply the fixed line widths.

UF_CGM_SINGLE_WIDTH
Apply the single line width defined
in the session custom widths.

UF_CGM_CUSTOM_3_WIDTHS
Apply custom widths per-width index,
as defined in the session custom widths.

UF_CGM_CUSTOM_PALETTE_WIDTHS
Apply custom widths per-color index,
as defined in the session custom widths.

UF_CGM_DEFAULT_FILE_WIDTHS
Apply line width settings specified in
the CGM Defaults File (cgmdef.txt).